In D7 all of the processing can be handled in template_preprocess_page, and just append the necessary DOM structures directly to the menu links. This would resolve #1758866: minipanel should not be displayed in the breadcrumb and probably some other issues.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

After some testing, this will *only* work when using the primary or secondary menus output using the theme options, it won't work when displaying the menus in a block. Bummer.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
5.85 KB

Initial patch, needs some work to clean up everything and there's a major problem that menu blocks don't work anymore...

DamienMcKenna’s picture

Also, this will be for D7 only, there's no way of doing this in D6 :-\

DamienMcKenna’s picture

Status: Needs review » Needs work

Thinking on it further, there should be an option on which method to use, which wouldn't require a whole new branch.

DamienMcKenna’s picture

I think the best approach would be to add this as a new feature in v2, along with #1253432: Upgrade to qTip v2.

DamienMcKenna’s picture

This is part of my plans for v2: #1957640: Plan for a Menu_MiniPanels v2.0 release

jwilson3’s picture

Issue summary: View changes

FWIW, if we abandon qTip and opt for placing the mega-menus directly inside the menu tree itself, then preprocess_page is no longer needed.

DamienMcKenna’s picture

There needs to be a setting to control which mechanism is used, so that existing sites aren't broken.