Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Drupal 7 using the latest -dev version of both Drupal and DHTML Menu on two different sites the menu closes when navigating to a new page. I tried switching themes, uninstalling + reinstalling, but it just won't stay open. I love the module it does everything I want and I am probably doing something wrong any help would be appreciated. If it helps the site url http://jocosjewelry.com and its enabled on the category menu. It is not a taxonomy menu.
Comment | File | Size | Author |
---|---|---|---|
#29 | config-dhtml.jpg | 65.44 KB | Chimos |
#29 | menu-screenshot.jpg | 34.14 KB | Chimos |
Comments
Comment #1
gibbet CreditAttribution: gibbet commentedHaving the same problem, menu is never expanded when moving from one page to another... Guessing its just some D7 teething - hope there's a fix soon!
Comment #2
joostvdl CreditAttribution: joostvdl commentedHas his something to do with Active Menu Trails maybe?
Comment #3
FreeFox CreditAttribution: FreeFox commentedSame here ... subscribing
Comment #4
joostvdl CreditAttribution: joostvdl commentedI've used: http://drupal.org/project/menu_position to connect a content type to menu. After that it keeps the menu leaf open and sets it to the active-trail
Comment #5
Jean Gionet CreditAttribution: Jean Gionet commentedI'm experiencing the same issue. Once I click the link to a page it loses where it was in the menu!
Comment #6
rianasf CreditAttribution: rianasf commentedCould you please elaborate: which of D6 or D7 do you have? And how exactly did you setup the Menu Position module?
On D7 and with a custom menu in the right sidebar, still cannot keep the menu expanded upon landing on desired page and installing Menu position.
Comment #7
marcoka CreditAttribution: marcoka commentedsame problem here, must be something with the cookie function
Comment #8
Peasoup CreditAttribution: Peasoup commentedsubscribe
My setup:
D7
DHTML Menu latest dev version
Static navigation: Doubleclick
Animation:
Effects: Slide in vertically + Fade in
Speed: Fast(0,5s)
Other Effects:
When a menu opens:
Close other open menus in the same tree.
When a menu closes:
Remember which sub-items were expanded when it next opens.
When a new page is loaded:
Expand only the currently active path. (Unable to set AND SAVE this setting to "Remember which items were expanded on the last page.")
No Disabling
Comment #9
NotNotCow CreditAttribution: NotNotCow commentedSame problem here:) Subscribed!
Comment #10
marcoka CreditAttribution: marcoka commentedi opened some threads with suggestions and pattches. its now working for me here. and set the keep open option in the settings
http://screensnapr.com/v/IthUkx.png
Comment #11
Peasoup CreditAttribution: Peasoup commented@e-anima
Everytime I set the "keep open" setting aka ""Rmember which items were expanded on the last page", and click save, the setting jumps back to "Expand only the currently active path" right away.
What are your other settings?
Would you please link to your threads with suggestions and patches?
Thank you!
Comment #12
marcoka CreditAttribution: marcoka commentedmy menu looks like this: http://screensnapr.com/v/mFCUJv.png
settings: http://screensnapr.com/v/oAKq2O.png
search for my name in the issue queue to see the patches.
Comment #13
Peasoup CreditAttribution: Peasoup commentedHey,
thanks for the fast reply.
I tried your settings (just varied in the static navigation-section, as far as I can tell from your screenshot), but I still can't switch to "Remember which items were expanded on the last page".
I also tried to search for your name in DHTMLs issues but only found this entry again. Searching for your name on the whole drupal site gives a few results too much ^^ So what exactly do you mean by issue queue, if not DHTMLs issues?
Thank you.
edit: it keeps at least the more uppe levels open, but the level I'm in is still closed on page load, e.g. I navigate to
2.
- 2.1.
-- 2.1.1.
click on a page, the menue resides with
2.
- 2.1.
(And I would really prefer NOT to use the icons oO)
Comment #14
marcoka CreditAttribution: marcoka commenteduhm. you click advanced search and type in participant
like: http://screensnapr.com/v/d0VIQk.png
Comment #15
Peasoup CreditAttribution: Peasoup commentedFound it :) Thanks.
Unfortunately no change after patching..
Comment #16
straszko CreditAttribution: straszko commentedsame issue...
Comment #17
straszko CreditAttribution: straszko commented@ThinkPodDsgn i could see that on your site http://jocosjewelry.com your category menu is working fine. Did you use D7 or D6? How did you resolve the collapsing issue?
Regards.
Comment #18
marcoka CreditAttribution: marcoka commentedi discovered an issue with my solution too, somehow sometimes some markup is lost, when i flush the cache multiple times its back.
this needs some serious work.
Comment #19
straszko CreditAttribution: straszko commentedi've just found out that under Drupal 7.2 (fresh install) this module is working well (at least it seems so...)
however v. 7.2 is not recommended for use due to some security issues...
Comment #20
straszko CreditAttribution: straszko commented...unfortunately it's not working well.. it seems to be ok only for primary links menu? but when i want it apply to a custom menu then reloading page makes my custom menu collapse...
Comment #21
JurgenR CreditAttribution: JurgenR commentedAny updates on this?
I'm using 7.x-1.0-beta1 version of DHTML_menu on Drupal 7.7.
On the configuration page I can't save the option 'Remember which items were expanded on the last page'.
It jumps back to 'Expand only the currently active path'.
(When a new page is loaded)
Want to use this module on custom menu.
Comment #22
pp CreditAttribution: pp commentedJurgenR: I tried beta1 and I saw your problem. Next I used the HEAD and I saw the configuration page work well. (http://drupalcode.org/project/dhtml_menu.git/commit/721a9dd)
Comment #23
jonn59 CreditAttribution: jonn59 commentedSame problem here, Subscribed
Comment #24
alexhelkar CreditAttribution: alexhelkar commentedSubscribing
Comment #25
Peasoup CreditAttribution: Peasoup commentedSorry, double post..
Comment #26
Peasoup CreditAttribution: Peasoup commentedAny improvements on this? There is no new version out and this feature is kinda important for a smooth user experience. Is there anyone, getting that to work?
Thanks.
Comment #27
Peasoup CreditAttribution: Peasoup commentedOkay, so I need this to be working, and although I have no clue about writing modules for drupal, I'll give it a shoot. All I wanna know, is there anybody who can confirm, that the "remember which items were expanded on the last page" worked at any time? If so, please tell me ALL your settings in dhtml menu.
Thanks.
Comment #28
Peasoup CreditAttribution: Peasoup commentedOh, and what I found so far, if you go to dhtml_menu_admin. inc and set "remember" to 1 in line 96, and set the default value to 1 as well, you're at least able to select that radio button.. It still doesn't do anything though..
Comment #29
Chimos CreditAttribution: Chimos commentedI have the same problem with Drupal 7.9, and a partial solution or a clue!!!
If I choose "Keep other menus open" (in "DHTML configuration", in section "Other Effects") -> The menu keeps open after page load (this make no sense, because here we are setting the behavoir when expanding other menus, not when loading, but it works so for me).
Before I had here "When a menu opens: Close other open menus in the same tree" -> This is PROBLEMATIC
1.- This is not a total solution, because obviously there is some error with the configuration.
2.- Probably we dont want all the menu trees to keep open, and we are forced to.
3.- We still can't choose "Remember which items were expanded on the last page".
But maybe helps! (I attach images of my config too)
Comment #30
xbrianx CreditAttribution: xbrianx commentedI have the same issue in 7.9
Comment #31
Summit CreditAttribution: Summit commentedMay be http://drupal.org/node/1347424 related?
Greetings, Martijn
Comment #32
Thelrin CreditAttribution: Thelrin commentedSame problem in 7.9. Subscribing.
Comment #33
ali_b CreditAttribution: ali_b commented+1
Comment #34
xbrianx CreditAttribution: xbrianx commentedSame problem
Comment #35
phoang CreditAttribution: phoang commentedSame issue...wish that the maintainer can fix it ASAP
Comment #36
bamban CreditAttribution: bamban commentedsame here
I wonder if someone has found any solution about that?
Comment #37
alexhelkar CreditAttribution: alexhelkar commentedI wrote a custom solution for me in jQuery. I have one DHTML menu on my D7 site, and such setting:
You can write your css selector for your menu into variable 'menu_selector', and maybe it will work for you.
Comment #38
bamban CreditAttribution: bamban commentedGreat It worked! Thanks
Comment #39
Gauntlet-1 CreditAttribution: Gauntlet-1 commentedRe: #37
I put this code where, exactly?
Comment #40
alexhelkar CreditAttribution: alexhelkar commentedCreate a javascript file and put that code into it. Then connect this file to your theme in YOURTHEME.info file.
Comment #41
ThinkPodDsgn CreditAttribution: ThinkPodDsgn commentedThe problem is not with the DHTML Menu module but that Drupal 7 does not assign an active trail to a custom menu. The fix is to patch the actual Drupal core menu module with the patch in post #262 from http://drupal.org/node/942782.
Comment #42
ckngAgree with #41, tested and confirm is related to #942782: Custom menus never receive an active trail.
Update: The same patch is causing menu block with 1 level not displaying, using menu_block (need patches from #1017122: Core bug work-around: add active trail to custom menus and #1393204: Remove the workaround for active trails core bug, now that it's fixed in -dev.
Comment #43
Drupalitta CreditAttribution: Drupalitta commentedAgree with #41 and #42 - the comment #262 works. Just patched mine. Works like a charm : )
Comment #44
pacome CreditAttribution: pacome commentedSame issue for me, if i set "Remember which items were expanded on the last page." on dhtml menu and save the settings, it stays on "Expand only the currently active path."...
I'm using drupal 7.14 and dhtmlmenu 7.x-1.0-beta1