<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello Everyone!<br>
</p>
<p>Im trying to add another menu like primary-menu in page.tpl.php.
I don't want use a blocks. Trying to use this<br>
to setup all in my theme<br>
</p>
<div class="codeblock"><code><span style="color: #000000"><span
style="color: #0000BB"><?php </span><span style="color:
#007700">print </span><span style="color: #0000BB">theme</span><span
style="color: #007700">(</span><span style="color: #DD0000">'links__system_secondary_menu'</span><span
style="color: #007700">, array(</span><span style="color:
#DD0000">'links' </span><span style="color: #007700">=>
</span><span style="color: #0000BB">$secondary_menu</span><span
style="color: #007700">, </span><span style="color:
#DD0000">'attributes' </span><span style="color: #007700">=>
array(</span><span style="color: #DD0000">'id' </span><span
style="color: #007700">=> </span><span style="color:
#DD0000">'secondary-menu'</span><span style="color: #007700">,
</span><span style="color: #DD0000">'class' </span><span
style="color: #007700">=> array(</span><span
style="color: #DD0000">'links'</span><span style="color:
#007700">, </span><span style="color: #DD0000">'inline'</span><span
style="color: #007700">, </span><span style="color:
#DD0000">'clearfix'</span><span style="color: #007700">))));
</span><span style="color: #0000BB">?></span></span></code></div>
<br>
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<br>
<div class="codeblock"><code><span style="color: #000000"><span
style="color: #0000BB"><?php<br>
$menu </span><span style="color: #007700">= </span><span
style="color: #0000BB">menu_navigation_links</span><span
style="color: #007700">(</span><span style="color: #DD0000">'menu-your-custom-menu-name'</span><span
style="color: #007700">);<br>
print </span><span style="color: #0000BB">theme</span><span
style="color: #007700">(</span><span style="color: #DD0000">'links__menu_your_custom_menu_name'</span><span
style="color: #007700">, array(</span><span style="color:
#DD0000">'links' </span><span style="color: #007700">=>
</span><span style="color: #0000BB">$menu</span><span
style="color: #007700">));<br>
</span><span style="color: #0000BB">?></span></span></code></div>
<p>Does it possible anyway? or only using block to put new menus in
template ?<br>
</p>
<p>Please help<br>
BR</p>
</body>
</html>