Moved Send Enquiry Button not working
This topic contains 10 replies, has 4 voices, and was last updated by Paolo 10 years, 10 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
March 21, 2015 at 5:52 pm #34799
Hi Guys
Im trying to add the Send Enquiry button to a another position on the detail form. (Under the Title )
But when I click it the enquiry link the form starts loading but does not actually get displayed. You can only see the X to close the form
You can see this happening here
http://showroom.ie/showroom/ireland/dublin/dublin-city/cabinet-maker/christy-bird-co/The SEND ENQUIRY on the Left hand side of the page under the Listing Name does not work while the standard one on the right hand side works perfectly.
Im using Geo Version 1.3.9 and the Avada Theme
A screen print of my code is attached
Any Ideas?
Thanks
daveMarch 21, 2015 at 10:45 pm #34817I am pretty sure that you cannot have 2 of these same forms on the one page, but I’ll alert Paolo to look at your topic too.
March 22, 2015 at 2:26 pm #34854Thanks Guust
March 23, 2015 at 1:38 pm #34910Although, You are able to have two SEND INQUIRY Forms (as per normal GD)
One in the Tabs and one in the list (see attached)March 23, 2015 at 1:38 pm #34911Although, You are able to have two SEND INQUIRY Forms (as per normal GD)
One in the Tabs and one in the list (see attached)thanks
daveMarch 23, 2015 at 3:18 pm #34926Hi,
ok the problem is that it searches from the link location for the post id
We can get around this by just making the new link call the old link
Try:
<a href="javascript:void(1);" class="b_send_inquiry2" onclick="jQuery( '.b_send_inquiry' ).click();">Send Enquiry</a>Let us know,
Thx
March 23, 2015 at 3:23 pm #34927Fantastic Paolo
That works great
Thanks so much
dave
March 23, 2015 at 3:32 pm #34929we need to thank Stiofan, me I was stuck all week end trying to solve like you… 🙂
March 23, 2015 at 4:39 pm #34935Nice one Stiofan…. Appreciate it
dave
March 26, 2015 at 9:44 am #35261Guys. This works a treat, but for one small issue I am hoping you can guide me with. When I added this change enquiries definitely have increased. So this is a good change.
However, I have noticed a trend that enquiries are getting sent twice a lot… this is because it’s not obvious (if you send an enquiry by clicking the “Send Enquiry” button from this new location) if the enquiry for sent or not…. as there is no message under the button in this new location.
I notice there is a class “sucess_msg” that shows the “Enquiry Sent Successfully” message. When I add this just under the new button the success message shows all the time…. instead of just when an enquiry is sent. So I am missing something small:
<a href="javascript:void(1);" class="b_send_inquiry2" onclick="jQuery( '.b_send_inquiry' ).click();">Send Enquiry</a> <p class="sucess_msg">Enquiry Sent Successfully</p>March 26, 2015 at 4:21 pm #35296hi,
the Sent Successfully message appear after sending the message becuase the URL change and ?send_inquiry=success
is added at the end of it.
This should be the correct code to be placed under the link calling the form
:if (isset($_REQUEST['send_inquiry']) && $_REQUEST['send_inquiry'] == 'success') { echo '<p class="sucess_msg">' . SEND_INQUIRY_SUCCESS . '</p>';}I say should, cause I haven’t tested it, but I’m 99% sure it will work.
Let us know,
Thanks
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket