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.

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
StatusFileSize
new5.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.