-----Original Message-----
From: Tom Scheidt <[EMAIL PROTECTED]>
To: Rik Hoekstra <[EMAIL PROTECTED]>
Date: donderdag 8 juni 2000 22:27
Subject: Re: [Zope] PARENTS

>The wierd thing is:
><dtml-with PARENTS> gives me the parent folder. (notice no quotes)

? strange

><dtml-with PARENTS[1]> gives me "Error Type: KeyError, Error Value:
><dtml-with "PARENTS[1]"> gives me the parent folder.

>None give me the parent-parent folder.

which wasn't your original question. So use <dtml-with "PARENTS[2]">
PARENTS is a list of parent objects, from the nearest parent to the root.
The root is always the last element in the PARENTS (that is written as



Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to