[Zope] using getitem()

Hamzat Kamal k_hamzat@yahoo.com
Tue, 6 Aug 2002 07:34:08 -0700 (PDT)


Hi,

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().

Thanks.

=====
Hamzat kamaldeen Ishola
Dnet Systems Limited. 223 Ikorodu Road, Lagos. Nigeria.
234 1 7749381, 234 08033011305
---
Making Mistake is not a problem but readiness to admit it.
Sentimental decisions are not mistakes but failures !!!
Mistake is an opportunity to see better !!!

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com