[Zope] using getitem()
Dieter Maurer
dieter@handshake.de
Tue, 6 Aug 2002 21:32:12 +0200
Hamzat Kamal writes:
> I have wanted to use getitem() in a Dtml Method to render docs "now"
> which are located in the subfolders where the Dtml Method is .
>
> <dtml-call "REQUEST.set('now',
> ZopeTime().toZone('GMT+1').strftime('%d%m%y'))">
> <ul>
> <dtml-in "Zcat_Index_1_Dtml_Doc(id=now)">
> <dtml-var "_.getitem(now,1)" size=100>... <br>
> <li>
> <a href="&dtml-absolute_url;"> More </a>
> </li>
> </dtml-in>
> </ul>
>
> How do I refference these subfoders so that those Docs can be
> rendered by the getitem().
What happens? What goes wrong?
Dieter