T4 Megamenu - limit submenu items display.
Thanks for the reply pankaj,
At the moment this is only a local hosted site. I am starting to convert a very large T3 site to the new T4 setup.
I would expect that the dropdown icon should also be hidden if I hide the sub menus. This was how it was implemented in T3. I think this should also be how T4 operates.
But, most critical is that I need to click more than once on the parent link (with hidden sub menus) for it to activate. Almost as if the first click is buffered (Activating a non-existant sub menu ?).
I will screenshot my setup and post another thread showing step by step what I encounter.
D.
Sorry for the delay, the site is now online at the address shown in the fields of the first post.
I will setup an FTP later today if you need it ?
You can now see that under the "GTS Projects" menu, there is a menu item "Present Projects at the GTS".
This "Present Projects at the GTS" menu link needs to be clicked twice to work, and also still has the drop down arrow even though I switched off the display of any submenus.
I would expect the menu to function normally (using a standard click) and to not show the drop down arrow (JA T3 functioned like this).
Thanks,
D.
Thank-you Pankaj,
I am converting a large JA T3 to use the new JA T4 framework and I need this to be solved before I continue.
Hopefully the dev team can quickly solve this issue.
D.
Any news on this menu bug fix ?
I have several large projects that I am stalling to wait for a fix, but I am getting mounting pressure to move forward.
I'd like to use T4 but I may be forced to find an alternative to finish a few jobs.
D.
The updated file solves the problem of the drop down arrow.
But the problem with 2 clicks to activate a link is still present.
I will update my online site for you to see. I will post when that is active.
D.
Thanks saguaros,
Sorry for the delay in replying.
I have updated my on-line site (details as shown in first post of this thread) with adding the menu you supplied above.
To replicate the problem:
Go to the site as shown in first post
Go to the top menu "GTS Projects".
In the sub-menu list the "Present projects at the GTS" sub menu will not function on the FIRST mouse click, but will link correctly on the SECOND mouse click.
It should go the menu link on the FIRST mouse click.
I have updated the site to all the latest plugins versions including Joomla 3.9.22.
Thanks,
Dave
Brilliant, thanks saguaros.
Will this change you made be included in the next T4 update ?
Should I save that adjusted version ?
Thanks for the solution.
Dave
On further testing it looks like the Styles for the selected links has now altered and is incorrect, when using your adjusted code. I tested against your default installation online.
I will explore this further and document what I find.
Dave
I double checked and I think the highlighting of a selected menu item is not working correctly in the MegaMenu.
The images below show that the highlighted item is shown correctly using the online T4 Demo, but it shows ALL submenus as being selected on my site with the updated code.
I will continue to check, but I don't think I altered any CSS for megamenu classes.
Dave