Attached is a patch that changes the behaviour when the breadcrumb parent item isn't in the selected menu (configured via menutrails settings).

Problem: I have a node type configuration in which for some node types menutrails should set the parent to a menu item that is in the secondary-links menu.

This (minor) patch checks whether the item is in the preferred menu first and if it isn't uses the last (!) found menu in the menu_links table.

Comments

miiimooo’s picture

Title: Search in menus other than selected menu » Search for breadcrumb parent in menus other than selected menu
StatusFileSize
new616 bytes

And here is the patch..

miiimooo’s picture

StatusFileSize
new932 bytes

And now as unified patch... sorry