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!

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