Tagged Questions
2
votes
1answer
95 views
How to check where in a menu tree a node is & then display a portion of the tree?
How can I check where in a menu tree a node is, and in particular how can I determine what its ultimate parent is? And how can I display a portion of a menu tree? Here's an example menu tree to ...
0
votes
4answers
137 views
How can menu tabs be relocated to another region?
I want to move menu tabs to occur in the main menu region instead of immediately above the content. I cannot identify a block that contains them. Is there a module, template location or a hook for ...
0
votes
1answer
42 views
Rebuild Workbench cache?
After adding some link to menu, on which Workbench Access has its hierarchy, I cannot immediately use this one, as a section. Tried rebuilding drupal menu (menu_rebuild()), but it's something inside ...
2
votes
1answer
88 views
Node creation PHP – menu item under proper parent
while I create node by PHP, I use this:
$node->menu['enabled'] = true;
$node->menu['link_title'] = $node->title;
but it puts link in 0 depth of the menu. It doesn't care for "Default ...
0
votes
0answers
43 views
Display menu edition form, try show only part of menu tree
I'm trying to display in my module editing form of a menu (the one with dragable items, $q=admin/structure/menu/manage/{menu_name}). Function I stumbled upon during research:
menu_tree_page_data
...