[Zope] problem in using Zcatalog : Help needed

Hamzat Kamal k_hamzat@yahoo.com
Sat, 3 Aug 2002 10:11:08 -0700 (PDT)


Hi All,
 
I have this problem in using ZCatalog.

I have the Zcatalog and the folders that contained the DTML
Documents in the root.
What surprise me was that it shows the absolute url when I did not
include _.getitem(mm,1) but display Nothing when included.
Also I will like to know how to use pathindex just like the way i
used id to limit results to those DTML Documents that have the same
id and pathindex.

<dtml-call "REQUEST.set('mm',
ZopeTime().toZone('GMT+1').strftime('%d%m%y'))">
<ul>
<dtml-in "Zcat_Index_1_Dtml_Doc(id=mm)">
<dtml-var expr="_.getitem(mm,1)[0:400]">... <br>
<li>
<a href="&dtml-absolute_url;"> More </a>
</li>
</dtml-in>
</ul>
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