I created a custom menu in Administer - Site Building - Menus, and I know I can display it as a block in the different regions of the page, but I'd like to be able to display specifically code and theme this menu and a different menu in the same style that you can do with $primarylinks. Is there an easy way to call the menu from page.tpl.php or am I better off writing my own SQL statements?

Comments

shyamala’s picture

Add a separate region in page.tpl. Add a condition to both primary links and the new region - the primary links must be displayed on all pages except the frontpage and the new region content should be displayed on only the frontpage.

Shyamala
Team Leader (http://www.netlinkindia.com)

encho’s picture

How to do this exactly, as a part of page.tpl.php, not as block/region?