Force a block to be expand

malc_b - October 13, 2009 - 16:50
Project:DHTML Menu
Version:6.x-3.5
Component:User Interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

What I have is a site map page with (for completeness) the menus inserted using cck blocks. That saves me typing the menus in all again. However, DHTML Menu does its thing on these blocks too. What I want to do is to make them normal ul, li. What's the simplest way of turning off dhtml menu for a page region?

BTW, my suggestion is have an option for DHTML menu, only active in this region or something like that.

#1

Arancaytar - October 13, 2009 - 17:47
Status:active» won't fix

Sorry, but there is no way to add the behavior to a menu in one region, but not when the same menu is displayed in another region. This is because the replacement happens at the menu level, and the module has no idea where the output will later appear on the page.

You would have to make two separate menus to do that, then disable DHTML on one of them.

If you feel up to hacking the CSS/JS of DHTML Menu, you might be able to specifically hard-code it not to work in a particular region,

#2

malc_b - October 13, 2009 - 19:28
Status:won't fix» active

I should add that I've used CSS to expand it when it first displays which is a partial work around. The site map block "menu" items still expand and collapse when clicked though and I'd rather they didn't.

 
 

Drupal is a registered trademark of Dries Buytaert.