Home ›
Show menu in pageShow menu in page
Submitted by Benjamin Melançon on May 21, 2008 - 12:10pm
Searched words:
display drupal menu within node
print part of menu tree within content
menu view inside
Set the input format for your node body or other textarea to PHP code, figure out what the menu ID of the menu item you care about as described by Nick Lewis (from whom all of this is stolen), and then stick this in your content:
<?php
$html = theme_menu_tree(42);
print $html;
?>
It could also go in a theme or somewhere else silly.
Resolution
More like this
- Have menu local tasks (view, edit, etc. tabs) show menu item description as tooltip
- Printing an arbitrary menu just like primary_links and secondary_links
- Theme admin_menu icon
- Aquasoft / MGP-Forum style CSS background graphical menu for Drupal primary links
- How to display different links in a Drupal page to logged in vs anonymous in users


Comments
Post new comment