loading...


Call every menu in drupal 6

call a drupal 6 menu in the template file

sometimes you have the need for a menu in a template file you can call the menu with this function

The priciple is this:

<?php $menu_name_array = menu_navigation_links(‘menu-name’);
print theme(‘links-menu-name’, $menu_name_array);
?>

 

This function is to see all the current menus in the db of go to the db 'menu-custum' table to see wath the menu name

<?php
menu_get_menus($all = true);
?>