dave_3d
Hi
Please edit fields in first post and submit your site details for staff.
The dropdown icon will show if the menu is parent menu item and having submenu items.

Regards

Ninja changed the title to 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.

    dave_3d
    Hi
    Can you put the site on live server and share details in Edit fields options, so i can have a look on it.

      Ninja

      I'll put the site on a live server.

      I'll let you know when it is online.

      D.

        dave_3d
        Yes, sure once done submit the details in Edit fields and add a reply here.

          7 days later

          Ninja

          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.

            dave_3d
            Hi
            I submitted the issue with dev team member on this for further checking possible options.

            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.

              dave_3d

              Hi
              The ticket is in queue and take some time as T4 is different then T3 and has different features.
              I will update you once there is any news from team.

              2 months later

              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.

                dave_3d

                Please backup the folder for 'mod_menu' in this path: plugins/system/t4/themes/base/html/mod_menu/

                And download attached file >> unzip and update to above path

                mod-menu.zip
                9kB

                This update will be included in the next update of T4 framework.

                Regards

                5 days later

                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.

                  dave_3d Let me know when your site is available and tell me the items where I can replicate the issue. I will check for you.

                  15 days later

                  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:

                  1. Go to the site as shown in first post

                  2. Go to the top menu "GTS Projects".

                  3. 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

                    dave_3d

                    I updated this file: /plugins/system/t4/themes/base/html/mod_menu/mega_items.php

                    mega-itemsphp.zip
                    995B

                    It's working now, kindly check.

                    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

                      dave_3d

                      Yes, it will be included in the next release of T4.

                      Let me know if you need any further help.

                      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

                      You need to Login to view replies.