--- Chris Withers <chrisw@nipltd.com> wrote:
So, the documents are being returned via a ZCatalog search? Try this:
<dtml-call "REQUEST.set('mm', ZopeTime().toZone('GMT+1').strftime('%d%m%y'))">
<dtml-in "Zcat_Index_Dtml_doc(id=mm)"> <dtml-var expr="getObject[0:400]">...<br> <a href="&dtml-getURL;"> more </a> </dtml-in>
...note that this uses the getObject and getURL methods that ZCatalog search results normally have.
Hi Chris, This is the error encountered when I tried it. Error Type: TypeError Error Value: unsliceable object Thanks for the support. ===== Hamzat kamaldeen Ishola Dnet Systems Limited. 223 Ikorodu Road, Lagos. Nigeria. 234 1 7749381, 234 08033011305 --- If Mistake is an opportunity to see better, then it is not a problem but readiness to admit it. Sentimental decisions are not mistakes but failures !!! __________________________________________________ Do You Yahoo!? HotJobs - Search Thousands of New Jobs http://www.hotjobs.com