Mobile Menu + RS From = captcha Error

Replied by ced1870 on topic Mobile Menu + RS From = captcha Error

Posted 4 years 9 months ago #53411
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

by ced1870

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

Replied by Reev3r on topic Mobile Menu + RS From = captcha Error

Posted 4 years 8 months ago #53425
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,
by Reev3r

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

Replied by ced1870 on topic Mobile Menu + RS From = captcha Error

Posted 4 years 8 months ago #53429
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

by ced1870

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

Replied by Reev3r on topic Mobile Menu + RS From = captcha Error

Posted 4 years 8 months ago #53496
Hi,

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

(Hope you had a good break! :) )

Thanks
by Reev3r

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

Replied by Reev3r on topic Mobile Menu + RS From = captcha Error

Posted 4 years 7 months ago #53720
Hi,
Sorry to bump this.

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

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

Replied by ced1870 on topic Mobile Menu + RS From = captcha Error

Posted 4 years 7 months ago #53728
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

by ced1870

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

Time to create page: 0.655 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 513 guests and no members online