- 🇺🇸United States inversed
This was super helpful! I modified the patch to work without a dependency on the menu items extra module as well as set the language selection to use the content.
This is working for me on 8.x-1.7.
I've encountered the same problem with version 3.0.0-alpha2 in Drupal 10.2.2.
Since I'm not really into building modules or patches, I'd highly appreciate it if someone could provide a patch for the latest version (2 and 3) of tb_megamenu.Thanks!
- 🇨🇦Canada Brownell Toronto, Ontario
This version of the patch is working well for me on version 3.0.0-alpha2 in Drupal 10.2.4.
- First commit to issue fork.
- d26d50de committed on 3254556
Issue #3254556 by brownelltyler, themodularlab: Compatibility with...
- d26d50de committed on 3254556
- Status changed to RTBC
9 months ago 2:50pm 29 March 2024 - 🇺🇸United States themodularlab
Reviewed the 3.x patch. Merging it now. I'll look to get the 1 and 2.x versions update soon, but continue to rely on the patches for those in the meantime.
-
themodularlab →
committed 53b8e6bc on 3.x
Issue #3254556 by brownelltyler, themodularlab: Compatibility with...
-
themodularlab →
committed 53b8e6bc on 3.x
-
themodularlab →
committed 53b8e6bc on bugfix/TBMM-3366359
Issue #3254556 by brownelltyler, themodularlab: Compatibility with...
-
themodularlab →
committed 53b8e6bc on bugfix/TBMM-3366359
- 🇫🇷France yvalentin
Hi there,
I encountered another issue with this one, while using translated links to custom paths generated by a custom module.
The concerned paths looks like: /l/parameterWhen I translate the links through translatable_menu_link_uri interface, tb_megamenu render them wrongly when viewed in the translated language.
Example:
Let say my website home URL is https://www.example.com, and my default language is english.
I have this link: /l/settings, that is translated to /l/parametres in french.
On front-office in the default language, the link renders correctly: https://www.example.com/l/settings
But when viewing the french version of the site, the link renders this way: internal:/l/parametresIt seems to be linked of the way the URL is generated. The translatable_menu_link_uri module use the getUrl() method while tb_megamenu use getValue()['uri'], and that is where it fails.