Mobile Menu + RS From = captcha Error

More
5 years 9 months ago #53411 by ced1870
PS : concerning the loading of the module, it uses also the Joomla API JModuleHelper to load it in a normal way :)

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #53425 by Reev3r
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 or Create an account to join the conversation.

More
5 years 9 months ago #53429 by ced1870
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

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #53496 by Reev3r
Hi,

I was hoping you were back now and able to look into this issue again please.

(Hope you had a good break! :) )

Thanks

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #53720 by Reev3r
Hi,
Sorry to bump this.

Just checking if you had a chance to look into this issue?

Please Log in or Create an account to join the conversation.

More
5 years 7 months ago #53728 by ced1870
Hi
I don't forget you ! just that this problem is not easy because the mobile menu is created with Javascript and I see the problem that you have.
For now I don't really know how to fix this
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.223 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1517 guests and one member online