[Zope] Reverse Order Display
Andy McKay
andym@ActiveState.com
Mon, 23 Apr 2001 09:10:14 -0700
<dtml-in "objectValues(['Legion News Generator'])" reverse>
--
Andy McKay.
----- Original Message -----
From: "Tane Piper" <tane@zzict.nl>
To: <zope@zope.org>
Sent: Monday, April 23, 2001 8:18 AM
Subject: [Zope] Reverse Order Display
> Hi there,
>
> Long time listner, first time caller.
>
> I have bastardised the Job Board system as a simple news posting system,
but
> I am having a problem. I want to display the posts in reverse order of
the
> timestamps (so the lastest post appears at the top).
>
> The current code I have is :
>
> <dtml-with news>
>
> <dtml-in "objectValues(['Legion News Generator'])">
> <dtml-var content_html>
> </dtml-in>
> </table>
>
> </dtml-with>
>
> How can I make it reverse the object values so I can get it to display how
I
> want it?
>
> Tane Piper
> Lead Designer - ZZICT Entertainment
> http://www.zzict.nl
>
>
> _______________________________________________
> 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 )
>