how to list latest published nodes?

Author Message

kevin wei

Tuesday 01 February 2005 6:26:55 am

i want to list the latest nodes published under node 34,35,78,80.
how can i do this?

i reference the code of list_node.tpl of toolbar, but it cannot work.
can somebody help me?
thx!

kevin wei

Tuesday 01 February 2005 7:39:43 pm

help me

Eivind Marienborg

Tuesday 01 February 2005 11:05:53 pm

One way to do it is to put all the nodes into the same folder, and then fetch on the folder, width depth 2. This would fetch all the nodes from all the nodes. You can also add a sort_by by last published.

kevin wei

Wednesday 02 February 2005 7:34:35 am

thanks Eivind !

yes,all these nodes are under one node, but if i do as said, as the same time i must exclude some nodes.

such as 89,87..., i can exxlude class in fetching, how to exclude array of nodes?

thx!

Balazs Halasy

Wednesday 02 February 2005 7:56:14 am

You could exclude them when you're looping through the array using a section. Look at the docpage for the section template function.

Allman

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.