Hello,

i want to implement the menu with always visible submenus. I removed the timeout from the JS, so the submenu doesn't hide after X seconds. So it works fine with the hover-effects. But i want to show the related submenu, when you click on the parent item.

Means, when page from menuitem 2 is loaded, the submenu 2.1 2.2 2.3 ... should be visible.

At the moment the active status is set to the list item (li). Is there a way to use the active status for the list element (ul) ?

I have to set the $display value related to the active status of the parent item.

I tried to set the status by using the values of the $link-array. But the elements "in_active_trail" or "expanded" are not set or i can't figure out which is the right element and where to set the $display value.

did someone had the same problem? maybe someone can give me a hand?

thanks in advanced

Stefan

Comments

Branjawn’s picture

subscribing

mrfelton’s picture

Version: 6.x-1.2 » 6.x-2.x-dev
Category: support » feature

subscibing. It would really seem to make as lot more sence if the current pages menu children were visible by default. Perhaps there should be a configuration option to trigger this behavior.

I'm changing the issue version to 2.x-dev, since this is a feature request, and new features are going in on the 2.x branch.

friendswoodtech’s picture

Any update on this? I've got a project that has this specific requirement. Will delve into shortly, but wanted to follow up in case it had already been done.

alberto56’s picture

@friendswoodtech thanks for your interest. As stated on the project's home page, work on the 6.x branch will happen only if patches are submitted by the community.

friendswoodtech’s picture

@alberto56, thanks for the quick response! I understand that it's no longer supported, just thought I'd put the question out there in case someone had "done" it already and not posted back. This module is terrific and the D7 version does exactly what I need it to do. But I have one last D6 site. Working backwards, I'm sure I can get it to work. I'll keep y'all posted with progress and solution.

alberto56’s picture

@friendswoodtech great, thanks. I decided to just support 6.x-1.x and 7.x-2.x because the 6.x-2.x branch has only a handful of users and my time for this is limited. Still, I will leave 6.x-2.x issues open so users can exchange patches, and so on. If someone wants to be a maintainer specifically for the 6.x-2.x branch, just let me know and I can add you to the project.