Tristan Koen
|
Wednesday 06 August 2003 1:04:54 pm
Hi All, I have run into a problem that really has me stumped and I am hoping someone on this list can give me a clue.
I have a folder News with 3 subfolders, A, B and C A, B & C each have a number of news articles in them. On my landing page, I want to show the latest news item (title, intro and image) followed by a list of the remaining articles (title only) organised by the headings A, B and C.
To get the latest article, I do a fetch('content',tree,hash(parent_node_id, 40, sort_by,array(published,false()))) This works fine.
To get the rest of the articles I perfrom a nested loop, with a fetch('content',list,hash(parent_node_id,40,class_filter_type,include,class_filter_array,array(1))) to get the list of my folders and then a
fetch(parent_node_id, $node_id)) to get an "inner" list of articles. This works perfectly well too EXCEPT that the latest article is also displayed. Someone PLEASE tell me how to get rid of it. Regards, Tristan
|