Contact Form

This topic contains 9 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #506543

    Scott Robins
    Free User
    Post count: 100

    Hi Folks

    If no email address is added to the email field, the contact form should not be showing on the listing page ?

    https://dev.shoppingonline.ie/shops/contactlenses-com-au/

    We have no email added see attachment for the above shop yet its still showing. I contacted Listimia and they mentioned its not a theme issue but seems to be a GeoDirectory issue.

    Listimia said

    Hello Scott,

    In the original Listimia the contact form shouldn’t be visible until you click the button “Send enquiry”
    Since you modified it your developer should should wrap the contact form between
    <?php if(!empty($gd_post->email)){ ?>
    // Form code goes here
    <?php } ?>

    and my dev replied with ( See attachment contact form. )

    Thanks

    Scott

    #506559

    Kor
    Moderator
    Post count: 16516

    Hi Scott Robins,

    Thanks for your post. I would need to forward this to a developer. Kindly share your Website WP admin access along with your FTP access here in private reply so that our developers could troubleshoot this further.

    #506573

    Scott Robins
    Free User
    Post count: 100
    This reply has been marked as private.
    #506574

    Scott Robins
    Free User
    Post count: 100
    This reply has been marked as private.
    #506597

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #506612

    Alex Rollin
    Moderator
    Post count: 27815

    I have setup a GeoDirectory Contact Form on your site. When you display a form you will need to use the GD Ninja Forms widget, not the Ninja Forms shortcode.

    Here is an example:

    
    
    
    [gd_ninja_forms form_id="2" text="Send Enquiry" post_contact="1" output="link"]
    

    https://wpgeodirectory.com/docs-v2/integrations/ninja-forms/

    You can replace the other shortcode in your details template. I tried but the page would not save.

    #506613

    Alex Rollin
    Moderator
    Post count: 27815

    When you make a support request you can make it possible for us to help you as quickly as possible by always following up on your topic with an immediate private reply that includes all the access info we may need to login and debug an issue on your site.

    You don’t have to do this, but it can save a couple of email exchanges. We don’t keep a log of credentials, so you will need to post them if they are needed to check on an issue.

    Thanks

    More information about getting support:
    https://wpgeodirectory.com/docs-v2/geodirectory/support/

    #506616

    Scott Robins
    Free User
    Post count: 100
    This reply has been marked as private.
    #508023

    Scott Robins
    Free User
    Post count: 100

    Hi Folks

    Unfortunately we are still having problems doing this.

    Currently we are using the form “Form we currently use.png” and we would like to use the form “Form we would like.png”

    What we need to confirm is

    1. The form only sends email to the email address on the listing.
    2. The form only shows when an email address is added to the listing.

    Can you confirm how we do this.

    Kind Regards

    Scott

    #508032

    Alex Rollin
    Moderator
    Post count: 27815

    The form settings control which emails go out. Check the form and then the GD settings have an option to BCC the admin.

    This shortcode will show only when the field with key ’email’ is populated

    
    
    
    [gd_ninja_forms form_id="2" text="Send Enquiry" post_contact="1" output="link"]
    
    

    If you need to do it again the instructions are here:
    https://wpgeodirectory.com/docs-v2/integrations/ninja-forms/

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

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

Open Support Ticket