hello, then you should walk up the objects parents with aq_parent... yourCatalog.getobject(data_record_id_).aq_parent will give you the first parent. from there you can get the title and the other parents. best be done in a loop in a python script i guess... greetings, maik. On Wed, 13 Mar 2002 09:26:49 -0500 "Todd Loomis, DMSO {SAIC}" <tloomis@dmso.mil> wrote:
Maik:
Thanks, but what I really want is the Titles of the folders in the path, can this be done?
Todd
At 08:56 AM 3/13/2002 +0100, you wrote:
hi,
you can try this one:
<dtml-with "yourCatalog.getobject(data_record_id_)"> <dtml-var title> </dtml-with>
greetings, maik.
On Tue, 12 Mar 2002 15:54:19 -0500 "Todd Loomis, DMSO {SAIC}" <tloomis@dmso.mil> wrote:
I using the following to get the path for a record:
<br><dtml-var "keywords.getpath(data_record_id_)">
What I would also like to do is get the Titles for the path, can this be done?
-- maik jablonski visit www.zope.org, universitaet bielefeld LET'S GET ZOPED!!!! zentrum fuer lehrerbildung didaktik des sachunterrichts postfach 10 01 31 33501 bielefeld germany tel: + 49 (0) 521 106 4234
http://www.zfl.uni-bielefeld.de/ http://www.sachunterricht-online.de/
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )