menu block need to be displayed while viewing a url which is not in menu
| Project: | Menu block |
| Version: | 6.x-2.2 |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Greetings
Menu block module works fine for displaying block depending upon the active menu.
My menu structure is like this...
_Item1 callback url : item1
_ _ Item1.1 callback url : item1/item1.1
_ _ item1.2 callback url : item1/item1.2
_Item2 callback url : item2
_ _Item2.1 callback url : item2/item2.1
_ _item2.2 callback url : item2/item2.2
when i click on item2.2 it displays some nodes in teaser view and nodes on this page take me to url given below
item2/item2.2/node2.2.1
item2/item2.2/node2.2.2
But On any node page Menu block disappears , of course it will , because the node url is not part of the menu.
Now I want this module to work in a way if any url is not in the menu( but exists) should serach for the menu item by removing last argument untill it matches the existing menu url so that menu_block is always visible.
For callback url item2/item2.2/node2.2.1 which does not exist in the menu, it should search for item2/item2.2 and then should display the block according to item2/item2.2
Kindly help me how this can be achieved.
Thanks in advance
