Monday 15 October 2007 7:08:29 am
the content root node have the node id 2. Then you can fetch the node 2 to have the url_alias of your home.
{def $home=fetch(content,node,hash(node_id,2))}
<a href={$home.url_alias|ezurl}>Home</a>
{undef $home}
For your class "selected", the method is different if you are in your pagelayout or in your object template.
Blog : http://www.frefred.fr/blog/ez-publish
feZ Meta Data : http://projects.ez.no/fezmetadata
|