28 Apr
2004
28 Apr
'04
11:49 p.m.
Asad Habib wrote at 2004-4-28 10:38 -0400:
Hello. Is there a simple way I can get access to the id/title of the folder that my DTML document is in?
If this really is a "DTML Document" and you want to access the container that contains this document (and you are using Zope 2.7 or above), then you can use "aq_inner.aq_parent". This should give you the container containing the "DTML Document". This will not work for a "DTML Method". -- Dieter