Remove the CANCEL button from the Preview listings page

This topic contains 2 replies, has 2 voices, and was last updated by  dave@ocl.ie 9 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #27426

    dave@ocl.ie
    Buyer
    Post count: 59

    Hi Guys

    Just wondering how I can remove the CANCEL button from the Preview listings
    I tried to remove the following code from the preview-buttons.php file
    but it still displays it. I want to remove it because I dont want a customer to press CANCEL by accident while adding the listing..

    <input type=”button” name=”Cancel” value=”<?php echo (PRO_CANCEL_BUTTON);?>” class=”geodir_button geodir_cancle_button” onclick=”window.location.href='<?php echo geodir_get_ajax_url().’&geodir_ajax=add_listing&ajax_action=cancel&pid=’.$post_id.’&listing_type=’.$post_type;?>'” />

    Thanks
    dave

    #27428

    Guust
    Moderator
    Post count: 29970

    Just add this to your CSS

    .cancle_button {visibility: hidden}
    #27472

    dave@ocl.ie
    Buyer
    Post count: 59

    Thanks Guust

    Thats fine now

    dave

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket