Drupal 7.9
Menu Block 7.x-2.2
DHTML Menu 7.x-1.0-beta1
--
HEADER
My entire site navigation is in "Main Menu", has THREE main menu items at level one, and is four levels deep in some places. I have created a custom menu block for the main navigation in the header. Three buttons.
SIDEBAR
I have menu blocks that show contextual menus using dthml menu. Works beautifully. Thanks!
FOOTER
I am trying to duplicate the first two levels of the main menu navigation in my footer using Menu Block. (Sort of a mini sitemap) So I first created THREE separate menu blocks for each main menu item. Unfortunately level one is NOT activated as a link. I need it active.
So then I decided to make one big menu in the footer and sort the positioning with CSS. I added a menu block for level one so it lists all the level one links, and I want level 2 children listed below each link.
Unfortunately because dhtml menu is running, it does not list each child (level) of the main menu links until the parent is clicked.
Basically I would like to disable dhtml menu for just the menu blocks in my footer. But dhtml menu only allows me to deactivate ALL of "Main Menu" not just menu blocks.
OR
I would like to create menu blocks that have the beginning level activated as well as it's children.
Comment | File | Size | Author |
---|---|---|---|
#14 | dhtml_menu-1329876-14.patch | 2.7 KB | sheise |
#9 | menu_blocks-1329876-9.patch | 2.29 KB | paulmckibben |
Comments
Comment #1
vitalie CreditAttribution: vitalie commented+1
Comment #2
anrikun CreditAttribution: anrikun commented+1
Comment #3
anrikun CreditAttribution: anrikun commentedComment #4
anruetherWould be grat to see! For me DHTML menu does not function at all if the menu levels are separated into different blocks.
Comment #5
ckng+1
The real issue here I think there is no enable/disable per block, which I believe used to have in older version.
Another option is to provide a way to intercept/override the global filter setting.
Comment #6
anthonycapo CreditAttribution: anthonycapo commented+1
Comment #7
marcoka CreditAttribution: marcoka commentedyou can test this: http://drupal.org/project/dynatree
i wrote it as nothing is happening in dhtml menu
Comment #8
jwjoshuawalker CreditAttribution: jwjoshuawalker commentedAny updates here? Anyone made progress?
Mainly on the objective: Additional block or DHTML setting to make it aware of Menu Block menu clones.
I have the same issue as OP, duplicating Main Menu in the footer. Need the footer version to *not* use DHTML.
Deadline on current project I need this for is 3 weeks from now. If no one else has a solution, and I don't go a different route before then, I will post the solution I create.
Comment #9
paulmckibbenI have a patch that I have tested on a site with menu block installed, and on another site without menu block installed. With menu block installed, the UI allows you to select specific menu blocks to blacklist/whitelist. Without menu block installed, the UI is unchanged.
Please review and (hopefully) commit!
Thank you.
Comment #10
freeform.steph CreditAttribution: freeform.steph commentedTried the patch and it seems to work great, thank you! (Applied manually so I can't confirm if this patch passes).
Comment #11
Katy Jockelson CreditAttribution: Katy Jockelson commentedPatch in #9 works great if you want to disable the module for 1 or more of your menu blocks, where it's enabled for the root menu.
What I need is to disable it for the main site navigation, but enable it for the sidebar menu block where the root menu is the main menu tree.
Any help gratefully received.
Comment #12
rooby CreditAttribution: rooby commentedI also want to do what is described in #11.
(the patch still applies with slight offset.)
Comment #13
rooby CreditAttribution: rooby commentedre #11: can't you just make your main menu also use the menu block module, then have full control?
Comment #14
sheise CreditAttribution: sheise commentedI was having the same problem as #11 and #12 so I re-rolled a patch that's almost the same as #9 with a slight variation. There may be a better way to do this, but it should work for now.
Comment #15
knalstaaf CreditAttribution: knalstaaf commentedWhen I use two Menu Blocks (one with DTML Menu and one without) on one page, the collapse/expand fuctionality disappears (using #14).
I'm using this in my template.php out of necessity, otherwise the expand-feature doesn't work properly:
Not sure if it has anything to do with it (I believe not).
Comment #16
knalstaaf CreditAttribution: knalstaaf commentedThe latest (critical) update of Ctools breaks this functionality in my project. Can someone confirm this?
Comment #17
knalstaaf CreditAttribution: knalstaaf commentedJumped on the alert button too soon. Clearing the cache turns things back to normal.
Comment #18
dshields CreditAttribution: dshields at OpenConcept Consulting Inc. commentedWorks well for us!
Comment #19
dark_kz CreditAttribution: dark_kz commentedI'm getting next error when using the patch #9 or #14
Notice: Undefined index: menu_block in function dhtml_menu_settings() (line 132 file /sites/all/modules/dhtml_menu/dhtml_menu.admin.inc).
Warning: Invalid argument supplied for foreach() in function form_type_checkboxes_value() (line 2337 file /includes/form.inc).
What am I doing wrong?
Comment #21
vuilCommitted to the latest 7.x-1.x-dev branch. Thanks!
Comment #23
vuil