Hi Chris Have you tried <dtml-var "PARENTS[1]"> Might work ;¬) Phil phil@philh.org -----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Chris Cooke-Johnson Sent: 29 September 1999 22:27 To: zope@zope.org Subject: [Zope] Newbie PARENTS question Hi there, I'm trying to reference the folder above from a DTML method. Basically what I'm looking for is an equivalent to the the <!--#var id--> which will give the id of the parent folder. In the DTML reference I found an explanation of the PARENTS attribute with seems to be what I want but I'm getting errors with both: <!--#var PARENTS[1]--> and <!--#expr PARENTS[1]--> How do I do this? Also, is it possible to nest calls? I.E. How can I make: <!--#var <!--#var id--><!--#var_another_method--> --> or similar In other words how can I make a compound call based on path (or other) variables? Thanx in advance. Chris _______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope (Related lists - please, no cross posts or HTML encoding! To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )