Forums / Developer / Showing ALL items in a folder?

Showing ALL items in a folder?

Author Message

Clemens T

Tuesday 08 March 2005 1:29:06 am

What if I would like to show a list of ALL articles in the current folder? So the published items AND the last drafts for the items which don't have a published version - even if I haven't written the drafts myself.

Please let me know if this is impossible or possible! And maybe a snippet in the direction on how to handle this kind of listing.

Thanks,
Clemens Timmermans

Bård Farstad

Tuesday 08 March 2005 5:56:18 am

You can use the fetch functions used in the content/versions template. This template fetches all versions for a current object. Take a look at that template and you should find an example on how to do this.

--bård

Documentation: http://ez.no/doc

Clemens T

Tuesday 08 March 2005 6:45:14 am

I think that's a good tip, will look into that!