28 Apr
2004
28 Apr
'04
5:04 p.m.
Asad Habib wrote:
Hello. Is there a simple way I can get access to the id/title of the folder that my DTML document is in? I have done this before but don't recall how. Essentially, I am trying to access the id/title of the parent(i.e. folder) in which my index_html resides. One way is to use the PARENTS variable. Is there a simpler way which would give me access to only the parent object and not all the parents up to the root. Any help would be greatly appreciated. Thanks.
You can use: <dtml-var "aq_parent.title_or_id()"> Cheers, Maik