- Issue created by @mambrus
- 🇮🇳India wdrangnath@gmail.com Delhi
I have installed the module and set it as explained the in document. then I place the same menu on a region in blocks but it is not loading the sub menus in column which is setup in Tb Mega Menu. it is showing the same menu which is created through structure -> menu section.
Can anyone please guide.
Drupal version : 10.0.8 and php version is 8.1.12
- First commit to issue fork.
- 🇺🇸United States knaffles
@mambrus - Just to clarify, are you placing two instances (blocks) of the same mega menu on the page? I can see how this is an issue in that scenario, but from your description it's not necessarily clear that that's what you're doing. If only one instance of a menu is placed on the page, I only see one element in the markup with that particular ID and it doesn't appear to be an issue.
- Status changed to Postponed: needs info
9 months ago 3:51pm 29 March 2024 - 🇺🇸United States themodularlab
@mambrus,
Can you provide some more info, particularly around @knaffles question? Is this still an issue?
- 🇺🇸United States knaffles
knaffles → changed the visibility of the branch 3369065-sub-navigation-doesnt-show to hidden.
- Merge request !87Issue #3369095 - Generate truly unique IDs for each TB MegaMenu. Fix... → (Merged) created by knaffles
- Status changed to Needs review
8 months ago 3:09pm 15 April 2024 - 🇺🇸United States knaffles
Didn't get a reply from the original reporter, but I'm assuming the issue is due to the fact that they had more than one mega menu on the same page, with each associated with the same Drupal menu. The result is that each menu has the same `id` attribute on the front end which messes up the initialization of the menus. The merge request below fixes the issue by generating a unique uuid for each mega menu. In the process, I fixed a related issue on mobile where a single button to trigger the open/close of a menu was opening/closing all mega menus on the page at the same time.
https://git.drupalcode.org/project/tb_megamenu/-/merge_requests/87
Tested the MR , it successfully solves the above mentioned issue
- Status changed to RTBC
8 months ago 4:33am 9 May 2024 -
knaffles →
committed 73d1452c on 3.x
Issue #3369065 by knaffles, sourabhsisodia_, mambrus, themodularlab: Sub...
-
knaffles →
committed 73d1452c on 3.x
- Status changed to Fixed
7 months ago 4:54pm 21 May 2024 Automatically closed - issue fixed for 2 weeks with no activity.