[Zope] TAL DTML Method & folder question

Martin Koekenberg zope at digital-adventures.nl
Fri Nov 7 06:19:32 EST 2003


Helly Dylan,

I know what is ' going wrong.

>From a Page Template in the root I linked a DTML Method in a sub folder. But
this DTML Method is looking for DTML Documents in the root in stead of it's
own sub folder.

Do you know a solutiuon for this ?

Martin Koekenberg
----- Original Message ----- 
From: "Dylan Reinhardt" <zope at dylanreinhardt.com>
To: "Martin Koekenberg" <zope at digital-adventures.nl>
Cc: "Zope Users" <zope at zope.org>
Sent: Thursday, November 06, 2003 5:31 PM
Subject: Re: [Zope] TAL DTML Method & folder question


> On Thu, 2003-11-06 at 07:53, Martin Koekenberg wrote:
>
> > This code has to show the last 3 news items (DTML Document's).
> > Something is going wrong with a folder or somethin like that because the
> > DTML Method show no news items. Mayby because there are no DTML Document
> > with the right properties in the root.
>
> Maybe so.  First rule of troubleshooting is to test your assumptions.
>
> Start simply... get a list of objects and display their ids... next,
> restrict the type of object... once that works, restrict by properties,
> number returned, etc.  Somewhere along the way, you'll figure out what
> you've done wrong.
>
> HTH,
>
> Dylan
>




More information about the Zope mailing list