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  -  [EMAIL PROTECTED]
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 )

Reply via email to