Thursday 07 August 2008 1:29:53 am
I thinks you can make easy by created your own menu in your pagelayout.tpl directly or in an other template and include it with the {include} operator like
{include uri='design:mymenu.tpl'}
where you want your menu will look like this :
<ul>
<li>{def $ch=fetch('content','node',hash(node_id,id))}<a href={$nod.url_alias|ezurl()}>{$nod.name}{undef $nod}</a></li>
<li>{def $ch=fetch('content','node',hash(node_id,id))}<a href={$nod.url_alias|ezurl()}>{$nod.name}{undef $nod}</a></li>
<li>{def $ch=fetch('content','node',hash(node_id,id))}<a href={$nod.url_alias|ezurl()}>{$nod.name}{undef $nod}</a></li>
<li>{def $ch=fetch('content','node',hash(node_id,id))}<a href={$nod.url_alias|ezurl()}>{$nod.name}{undef $nod}</a></li>
.....
.....
</ul>
the id in the fetch function is the identifier of the noeud that you want to make a link. i thinks this can help you.
The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.
Albert Einstein
|