19 Mar
2012
19 Mar
'12
12:59 p.m.
Hello Everyone! Im trying to add another menu like primary-menu in page.tpl.php. I don't want use a blocks. Trying to use this to setup all in my theme |<?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'inline', 'clearfix')))); ?>| but the thing is that i don't know how to setup variables for this in template.php or just in page.tpl.php like |<?php $menu = menu_navigation_links('menu-your-custom-menu-name'); print theme('links__menu_your_custom_menu_name', array('links' => $menu)); ?>| Does it possible anyway? or only using block to put new menus in template ? Please help BR