travelI'm on Holidays until the 19th august.

The questions posted during this period will receive no answer, so please be patient and wait before posting in the forum. Thank you

New registrations are suspended during this period

Je suis en vacances jusqu'au 19 aout.

Je ne répondrai à aucune question postée durant cette période. Merci d'attendre mon retour. Merci

Les inscriptions sur le site sont suspendues pendant cette période

 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Mobile Menu + RS From = captcha Error

Mobile Menu + RS From = captcha Error 24 Jul 2019 01:41 #53396

  • Reev3r
  • Reev3r's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi,

I am using Mobilemenu CK and the Params plugin to load a form with RSfrom. This form has a Google captcha that works normally but when it's loaded in Mobilemenu CK the captcha doesn't appear.

I'm guessing there is a conflict with some javascript but I don't know how to fix this.

Thanks,

Please Log in to join the conversation.

Mobile Menu + RS From = captcha Error 24 Jul 2019 05:53 #53397

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21382
  • Karma: 427
  • Thank you received: 2702
Hi
please give me the url of the page where I can see the problem
CEd

Please Log in to join the conversation.

Joomlack Webmaster and Developer

Mobile Menu + RS From = captcha Error 24 Jul 2019 07:16 #53398

  • Reev3r
  • Reev3r's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi, thanks for the reply (link below:

twelvedozen.com.au/

thanks,

Please Log in to join the conversation.

Mobile Menu + RS From = captcha Error 24 Jul 2019 08:48 #53401

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21382
  • Karma: 427
  • Thank you received: 2702
you have some JS errors in your page because of a problem with jquery
it seems that you have loaded some scripts in the bad order/place

please check your browser console and fix these errors

Please Log in to join the conversation.

Joomlack Webmaster and Developer

Mobile Menu + RS From = captcha Error 24 Jul 2019 23:42 #53408

  • Reev3r
  • Reev3r's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi,
I have gone through and resolved all the JS errors, captcha still doesn't appear to be working though.

Please Log in to join the conversation.

Mobile Menu + RS From = captcha Error 25 Jul 2019 06:39 #53409

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21382
  • Karma: 427
  • Thank you received: 2702
you may better ask the RS developpers about this ...
by my side the mobile menu uses the Joomla API to call the scripts and there is no reason why it would break something (unless the other scripts are loaded in a bad way)

have you asked them ?

Please Log in to join the conversation.

Joomlack Webmaster and Developer

Mobile Menu + RS From = captcha Error 25 Jul 2019 06:55 #53411

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21382
  • Karma: 427
  • Thank you received: 2702
PS : concerning the loading of the module, it uses also the Joomla API JModuleHelper to load it in a normal way :)

Please Log in to join the conversation.

Joomlack Webmaster and Developer

Mobile Menu + RS From = captcha Error 28 Jul 2019 23:29 #53425

  • Reev3r
  • Reev3r's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
HI I have contact Rs Form and they provided the following resposne:

Mobilemenu CK is actually copying the HTML on the page to insert the mobile menu before the </body> tag. This copying can be seen starting from this line below:

$(document.body).append('<div id="' + t.mobilemenuid + '" class="mobilemenuck ' + opts.langdirection + '"></div>');

That's the mobile container, afterwards it loops through all menu items and copies them to the above <div> (the code is far more extensive, I'm just pointing out the lines you should be looking at):

menuitems.each(function(i, itemtmp) {

And this are the exact lines that are causing issues:

} else if (opts.usemodules == '1' && (
$('> div.menuck_mod', itemtmp).length
|| $('> div.maximenuck_mod', itemtmp).length
|| $('> div.accordeonckmod', itemtmp).length
)
) {
datatocopy = itemanchor.html();
t.mobilemenu.html += '<div class="' + itemtmp.attr('class') + '">' + itemmobileicon + datatocopy + '</div>';
} else {

This basically means that the HTML is copied without any Javascript events, including the ReCAPTCHA that's injected in the form. If you would simply remove that Javascript from the page you'll notice the recaptcha being initialized properly in the <div id="g-recaptcha-29"> tag.


Hopefully, this information will help resolve the issue?

thanks,

Please Log in to join the conversation.

Mobile Menu + RS From = captcha Error 30 Jul 2019 07:01 #53429

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 21382
  • Karma: 427
  • Thank you received: 2702
ok I see
thanks for the info
I'm currently in holidays, so please remind me that after the 19 august so that I can check by my side

Please Log in to join the conversation.

Joomlack Webmaster and Developer
  • Page:
  • 1
Time to create page: 0.216 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 595 guests and no members online