Thursday 03 August 2006 1:50:30 pm
Hi! I'm doing the navigation list of my site and I would like to get the URL of a node, only knowing this node ID. For every item of the list, I've got something similar to:
{def $item = hash(
"text_to_show", "foo bar",
"nodeID", 666
)
}
And I want to format it like this:
<li><a href={<i>getNodeByID($item.nodeID).url_alias</i>|ezurl}>{$item.text_to_show}</a></li>
I don't know the piece of code to substitute the <i>getNodeById</i>. Thanks in advance.
|