Thursday 05 January 2006 11:41:56 am
Thank you for your reply. I guess the real question in all this is how to loop through the child objects of a node/folder. I.e.
/ezp/content/info01
/ezp/content/info02
/ezp/content/info03
/ezp/content/info04 /ezp/content/info05
If i then create a section that is connected to that content folder, what code makes me able to loop through the chile objects of that folder(info01, info02, etc). From my limited knowledge about programming, I can understand that this code:
{$node.object.data_map.realname.contentclass_attribute.name}:
it takes the current node, fetches the contentclass stored variables and makes you able to print it to the screen. The problem is that when I input this code to an override to the
specified folder(/ezp/content/), it will try to fetch the data from the current folder node, and not the info01,info02,info03...etc which is the real nodes,items or objects(if that's what you call it) that stored the information i've put in.
|