8 Jun
2000
8 Jun
'00
8:51 p.m.
-----Original Message----- From: Tom Scheidt <tom@falsemirror.com> To: Rik Hoekstra <rik.hoekstra@inghist.nl> 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: PARENTS[1]" <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 PARENTS[-1]) hth Rik
9433
Age (days ago)
9433
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rik Hoekstra