Share » Forums » Setup & design » Fetch array of all nodes..

Fetch array of all nodes..

Fetch array of all nodes..

Thursday 02 October 2003 1:12:31 pm - 1 reply

Author Message

Albert Berenguer

Friday 03 October 2003 7:14:05 am

hi,
to get an array containing all the nodes of your content tree you can use a tipical fecth function but replacing 'list' for 'tree', sthg like this:

{let folder_list=fetch('content','tree', hash(parent_node_id, $node.node_id)}

i think that if you don't indicate any sorting in the function, the nodes will be sorted as they come in the content tree, you better test it by yourself :)

i hope i helped in some way, bye!!

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu