Saturday 24 September 2005 5:20:19 am - 5 replies
Clemens T
Saturday 24 September 2005 5:54:42 am
Could you post your current fetch() statement? thanks,Clemens
Mazen Alsibai
Saturday 24 September 2005 7:19:43 am
{let name=Child children=fetch('content','list',hash(parent_node_id,/*id_of_node*/,class_filter_type,include,class_filter_array,array('/*name of the class*/'))) }
John Smith
Monday 26 September 2005 1:56:19 am
Thanks for your help.
Here is my fetch statement. I want to exclude the images. Only want to fetch folder and articles list.
{let sub_children=fetch('content','list',hash(parent_node_id,$Child:item.node_id,limit, class_filter_type, "include", class_filter_array, array( 'folder', 'article' )))}
Thanks
Monday 26 September 2005 2:02:58 am
{let sub_children=fetch('content','list',hash(parent_node_id,$Child:item.node_id,limit,number_u_want,class_filter_type, 'exclude', class_filter_array, array( 'identifier of image class' )))}
Monday 26 September 2005 2:10:58 am
Thanks I have sorted my problem. It was something wrong with nested loops.
But for general knowlegde, Is it possible to use include and exclude simultaneously within the fetch statement.
Cheers.
You must be logged in to post messages in this topic!