Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Contact form in menu
(1 viewing) (1) Guest
Userguide, Report Bugs, New Ideas...
  • Page:
  • 1

TOPIC: Contact form in menu

Contact form in menu 11 years, 6 months ago #9883

Hello,

I am trying to make a contact form exactly like the one in your Restaurant template demo (a contact form which appears when I pass my mouse on the menu voice).
I've made a contact module with Youtech contact module and I assigned it to my menu voice, however I really can't figure out why it is not working....
Can you please help me to understand where I do wrong?

Thank you in advance for your help.

Laura
The topic has been locked.

Re: Contact form in menu 11 years, 6 months ago #9898

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Laura Pierobon,

Could you please send your site url to us?

Thanks
Ticket System | Join our Clubs to download our extensions and templates
The topic has been locked.

Re: Contact form in menu 11 years, 6 months ago #9908

Hi,

I've submitted all site access data.
If you need anything else, just ask.

Thanks again for your help.

Laura
The topic has been locked.

Re: Contact form in menu 11 years, 6 months ago #9952

  • SA Thuy
Website Information (for Admin Only)
Site Url: hhtp://www.sanaristorazione.it
Admin Username: admin
Admin Password: butterfly
FTP/SSH Server: sanaristorazione.it
FTP/SSH Username: uyh4uvt3
FTP/SSH Password: pYTmcp22
Dear Laura Pierobon,

Please go to Template Manager, choose Default Menu Style field is Mega menu in Top Menu Settings tab.

Then, please go to yoursite/templates/sj_restaurant25/html/mod_yt_contact/default.php and find:

function ytc_isValidEmail(email_str) {
			var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;
			if (emailPattern.test(email_str)) {
				alert('<?php echo $thankyou; ?>);
				$currentForm.submit();
			} else {
				alert('<?php echo $emailerror; ?>');
			}
		}

=>
function ytc_isValidEmail(email_str) {
			var emailPattern = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;
			if (emailPattern.test(email_str)) {
				alert("<?php echo $thankyou; ?>");
				$currentForm.submit();
			} else {
				alert("<?php echo $emailerror; ?>");
			}
		}


Because in your language, $emailerror=L'indirizzo email inserito non è valido, ti preghiamo di verificarlo
=>
alert('L'indirizzo email inserito non è valido, ti preghiamo di verificarlo '); will occur structure js error.

I fixed that, please go to your site to check again.

Thanks
The topic has been locked.

Re: Contact form in menu 11 years, 6 months ago #9978

Hi,

thank you very much, now all works fine!

Bye,

Laura
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.24 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes