Is it possible to create a menu_block that replaces its parent block?

For example, I have the following menu at path "parent/*"

--parent
----child

And I would like to replace this with a new menu at path "parent/child/*"

----child
------grandchild

I realize this is similar to the "Make the starting level follow the active menu item" option or the Menu Trim module except that there are cases that don't follow these neat conventions, so I really need the flexibility to simply replace a menu with a new one.

Comments

JohnAlbin’s picture

Status: Active » Fixed

For your first block, just specify the “Show block on specific pages” path as: parent

And for your second (replacement) bloc, specify:
parent/child1
parent/child1/*
parent/child2
parent/child2/*

aspafford’s picture

Thanks for the quick reply. I think I need the parent block path to be "parent/*" because I've got a bunch of other pages under this path that don't get the replacement block, and this would result in one menu showing up above the other. But I think I'll follow up on the general support list since this is more of a block settings problem and not specific to this module.

Thanks,
Aaron

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.