[Zope] PARENTS

2000-06-08 Thread Tom Scheidt
Hi All, I can't get dtml-with PARENTS[1] to work. I want it reference the folder containing the folder containing the document, but i get: Error Type: KeyError Error Value: PARENTS[1] Thanks. Tom Scheidt | www.falsemirror.com | [EMAIL PROTECTED]

Re: [Zope] PARENTS

2000-06-08 Thread Rik Hoekstra
-Original Message- From: Tom Scheidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: donderdag 8 juni 2000 22:07 Subject: [Zope] PARENTS Hi All, I can't get dtml-with PARENTS[1] to work. I want it reference the folder containing the folder containing the document

Re: [Zope] PARENTS

2000-06-08 Thread Bill Anderson
Tom Scheidt wrote: Hi All, I can't get dtml-with PARENTS[1] Have you tried dtml-with "PARENTS[1]" ? I dont recall why ATM, but my rule-of-thumb is that if you are calling ALLCAPS (ie. REQUEST,PARENTS...) wrap it in quotes. ___ Zope maillist

Re: [Zope] PARENTS

2000-06-08 Thread Rik Hoekstra
-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 "

Re: [Zope] PARENTS

2000-06-08 Thread Bill Anderson
Chris Withers wrote: Bill Anderson wrote: Tom Scheidt wrote: Hi All, I can't get dtml-with PARENTS[1] Have you tried dtml-with "PARENTS[1]" ? I dont recall why ATM, but my rule-of-thumb is that if you are calling ALLCAPS (ie. REQUEST,PARENTS...) wrap it in quotes.