With DHTML menu enabled, if I install the Devel module and enable the theme developer, then the following blocks disappear from all pages: Navigation, Primary Links, Development. If I disable either the theme developer or DHTML menu, the blocks return.

This is bug #353482: Theme developer disables display of menu blocks with dhtml_menu of the Devel project. I'm opening this bug too since either or both projects might have to work on the fix.

Thanks,
Andrew.

Comments

cburschka’s picture

Status: Active » Closed (won't fix)

Heh. DHTML Menu /never/ used to work with Theme Developer, but at least now I'm absolved of having to figure out a CSS selector that could withstand Theme Developer mangling the markup. I can't fix it if my blocks are gone completely. ;)

In any case, I won't try to fix this again, like I failed to the last two times. You are not intended to use Theme Developer while navigating or administering your site. It is a debug mode for the theme layer, and it should be no surprise that the theme layer is not operating normally while in debug mode. Just enable it, find the theme functions and variables you need, and switch it off when you're done.

Andrew Schulman’s picture

OK, understood. However:

You are not intended to use Theme Developer while navigating or administering your site.... Just enable it, find the theme functions and variables you need, and switch it off when you're done.

Unfortunately even this isn't an adequate answer, because with DHTML menu enabled, as soon as one enables the theme developer, all of the menu blocks INCLUDING the development block disappear, so it's a challenge to even be able to disable the theme developer again.

In other words, as I said in bug #353482, the effects of this bug are severe. If it's not fixable, I would ask that you please take steps to help users avoid it. I'm not sure what the available mechanisms are in Drupal-- declare a module conflict, issue an error or warning message, ...?

Thanks,
Andrew.

Macronomicus’s picture

I guess the only option its to not use dhtml menu when developing your theme, because you know whats coming!!!
Hopefully anyone else who falls in this pit will find these issue posts and know.. it is what it is ... and neither module dev wants to change it! ^_^