Share » Forums » Setup & design » How to fetch nodes of a specific node...

How to fetch nodes of a specific node list?

How to fetch nodes of a specific node list?

Thursday 17 March 2005 5:59:29 am - 4 replies

Modified on Thursday 17 March 2005 5:59:51 am by Daniele Nocentini

Author Message

Lex 007

Thursday 17 March 2005 6:06:17 am

Maybe using the treemenu operator ?

http://www.ez.no/ez_publish/documentation/reference/template_operators/miscellaneous/treemenu

Daniele Nocentini

Thursday 17 March 2005 6:47:49 am

I try the example of docs but don't show anything!

Antica Bottega Digitale srl
http://www.abd.it

Valentina Ferrari

Thursday 17 March 2005 6:58:27 am

Try to use

{let children=fetch('content',tree,hash(parent_node_id,119,
> class_filter_type, include, 
> class_filter_array, array( 1 ),
> "sort_by",array("published",false())))}

TREE instead of LIST

bye
valentina

Daniele Nocentini

Thursday 17 March 2005 7:04:16 am

Thanks Valentina.

I try this code and work fine!

<table>
{section name=Folder}
{section loop=fetch(content,list,hash(parent_node_id,119, class_filter_type, "include", class_filter_array, array(1,2),sort_by,array(array(priority))))}
<tr>
<td class="path">--{$Folder:item.name}

{section loop=fetch(content,tree,hash(parent_node_id,$Folder:item.node_id, class_filter_type, "include", class_filter_array, array(29),sort_by,array(array(priority))))}
<ul>
<li></li>----{$Folder:item.name}</a></li>
</ul>
{/section}
</td>
</tr>
{/section}
{/section}
</table>

Antica Bottega Digitale srl
http://www.abd.it

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

36 542 Users on board!

Forums menu