I've got 3 content pickers on my homepage, and i want a macro to render a navigation bar with 3 links. I need my xslt file to retrieve 3 attributes from each the source nodes choosen in the contentpickers (respectively named 'box1source', 'box2source' and 'box3source'):
url
pageName (textstring)
img src (url from upload)
i call in the nodes from the contentpickers in variables:
[code]
[/code]
how to retrieve these 3 attributes from each node?
box1, box2 and box3 should all id's for other nodes in the content tree.
I'd suggest to feed the boxX var's with the node, rather than the node's id, otherwise you'll have to grab a node multiple times.
[code][/code]
Retrievin the attributes become as simple as:
[code]
[/code]
Btw, isn't pageName the same as the node's name? In that case, you'd use
retrieving data through content picker
Hi
I've got 3 content pickers on my homepage, and i want a macro to render a navigation bar with 3 links. I need my xslt file to retrieve 3 attributes from each the source nodes choosen in the contentpickers (respectively named 'box1source', 'box2source' and 'box3source'):
url
pageName (textstring)
img src (url from upload)
i call in the nodes from the contentpickers in variables:
[code]
[/code]
how to retrieve these 3 attributes from each node?
Hi,
box1, box2 and box3 should all id's for other nodes in the content tree.
I'd suggest to feed the boxX var's with the node, rather than the node's id, otherwise you'll have to grab a node multiple times.
[code][/code]
Retrievin the attributes become as simple as:
[code]
[/code]
Btw, isn't pageName the same as the node's name? In that case, you'd use
[code][/code] instead of
[code][/code]
Hope this helps.
Regards,
/Dirk
Exactly what i needed :)
Thx Dirk
is working on a reply...