Javascript problem when using GTranslate Module in Mobile Menu CK

More
1 year 9 months ago - 1 year 9 months ago #67480 by jparker3119
Mobile Menu CK 1.5.15: GTranslate 4.0.1; Joomla 4.2.7:
GTranslate works fine when used with Maximen CK, but the Gtranslate dropdown does not execute in the Mobile Menu CK.
Please advise.
Thanks
Jim
Gtranslate Website: gtranslate.io/
Last edit: 1 year 9 months ago by jparker3119.

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

More
1 year 9 months ago #67481 by ced1870
Hi
I don't know how is loaded GTranslate, but the mobile menu will duplicate it by javascript
the problem is that the instance that init the translator may be loaded before the mobile menu creates the 2nd instance, and then not initialised

You shall ask GTranslate what could be the JS code to add in the page to make it work in this case. I can not do anything from the mobile menu

CEd

Joomlack Webmaster and Developer

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

Time to create page: 0.200 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1212 guests and one member online