try to set orphan=0 inside dtml-in. andreas ----- Original Message ----- From: "Todd Loomis" <tloomis@dmso.mil> To: <zope@zope.org> Sent: Wednesday, September 26, 2001 15:53 Subject: [Zope] Size limit
All:
I'm using the code below to pull news articles out of a folder, I only want the first 5 the meet the if statement. But I pulling all how can I do this?
<dtml-var standard_html_header> <dtml-with "news"> <dtml-in "objectValues('News')" sort=display_order size=5> <dtml-if expr="end_date > ZopeTime() and start_date <= ZopeTime()"> <b><dtml-var title></b><br> <dtml-var abstract><br> <a href="news/<dtml-var id>">FULL STORY</a><p> </dtml-if> </dtml-in> </dtml-with> <dtml-var standard_html_footer>
Thanks, Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Todd Loomis Web Developer (SAIC) Defense Modeling & Simulation Office 1901 N. Beauregard Street, Suite 500 Alexandria, VA 22311 Office: 703.824.3407 Fax: 703.379.3778 tloomis@dmso.mil
_______________________________________________ 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 )