Hello, few weeks ago, on Zope site I came across a document describing how to build news section with features like displaying with five most recent items from a folder, etc. But now I can't recall, where it was. Can someone point me in a right direction. Thank you, Radim
Radim Gelner wrote:
Hello,
few weeks ago, on Zope site I came across a document describing how to build news section with features like displaying with five most recent items from a folder, etc.
But now I can't recall, where it was. Can someone point me in a right direction.
something along the lines of <dtml-in "objectValues(['NewsItem', 'DTML Document']) sort=bobobase_modification_time reverse size=5> <dtml-with sequence-item> <a href="&dtml-var.absolute_url;"><dtml-var title_or_id></a> </dtml-with> </dtml-in> Kapil
It is also in the Tutorial. Enjoy, J
From: Kapil Thangavelu <kthangavelu@earthlink.net> Date: Mon, 28 Aug 2000 20:55:34 -0700 To: Radim Gelner <gelnerr@suse.cz> Cc: zope@zope.org Subject: Re: [Zope] Where is news section how-to?
Radim Gelner wrote:
Hello,
few weeks ago, on Zope site I came across a document describing how to build news section with features like displaying with five most recent items from a folder, etc.
But now I can't recall, where it was. Can someone point me in a right direction.
something along the lines of
<dtml-in "objectValues(['NewsItem', 'DTML Document']) sort=bobobase_modification_time reverse size=5>
<dtml-with sequence-item> <a href="&dtml-var.absolute_url;"><dtml-var title_or_id></a> </dtml-with>
</dtml-in>
Kapil
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (3)
-
J. Atwood -
Kapil Thangavelu -
Radim Gelner