27 Sep
2001
27 Sep
'01
10:37 p.m.
Todd Loomis writes:
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()"> Use "ZopeFind" rather than "objectValues" to get an filter the objects....
Dieter