Enquiry Button

This topic contains 8 replies, has 4 voices, and was last updated by  Kor 4 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #495681

    Mike Crarer
    Expired Member
    Post count: 64

    Hello,

    On the events and places of my site the Send Enquiry Button shows for all listings whether they have an e-mail address listed or not.

    It this correct ?

    Is there a way to make it so that the button only shows for listings with an e-mail address ?

    Thanks,

    Mike

    #495683

    Mike Crarer
    Expired Member
    Post count: 64
    This reply has been marked as private.
    #495704

    Alex Rollin
    Moderator
    Post count: 27815

    I checked and couldn’t find how you are adding the form, but, if you are using the GD > Ninja Forms widget to show a button or a link, that will only show up if the listing has a field with key ’email’ and that field is allowed in the price package.

    Can you check that and let us know?

    #495714

    Mike Crarer
    Expired Member
    Post count: 64

    Hi Alex,

    I am using the Listimia Theme.
    I am using Ninja Forms.

    One listing that does not have an e-mail is :

    https://camperandvan.com/events/united-kingdom/warwickshire/banbury-1/vw-shows-and-events/air-cooled-campout/

    One listing that does have an e-mail is :

    https://camperandvan.com/events/united-kingdom/northamptonshire/northampton-1/vw-shows-and-events/polo-social/

    Both listings show the Send Enquiry Button. ??

    I do not know what else to check / show you. 🙁

    Best regards

    Mike

    #495745

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    appears to be an issue with the theme. Please ask for support to the theme developer so that the Enquiry button appears only if an email address is associated with the listing.

    Thanks

    #495832

    Mike Crarer
    Expired Member
    Post count: 64

    Hi Paolo,

    I have logged a ticket with Listimia and will update you with the outcome.

    Thanks,
    Mike

    #496021

    Mike Crarer
    Expired Member
    Post count: 64

    Listimia were very quick ( just like you guys ) and they have sent me a fixed listing-hero.php file to swap in the template.

    They will make the fix to the template for the next update.

    File attached for interest.
    It sits here in the template…
    listimia⁩ > ⁨global-templates⁩ > listing-hero.php

    Looks like it all works well now. 🙂

    #496024

    Mike Crarer
    Expired Member
    Post count: 64

    Can’t upload the file as it is .php but this looks like this is what they changed in the file on line 85.

    <?php if(!empty($gd_post->email)){ ?>
    <!– Contact form modal –>
    <div …..
    …..
    …..

    So only works if gd_post e-mail has a value in it.

    #496422

    Kor
    Moderator
    Post count: 16516

    Hi Mike Crarer,

    Thanks for sharing and have a nice day!

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

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

Open Support Ticket