22 Aug
2002
22 Aug
'02
9:04 p.m.
Pierre Godefroy wrote:
Is there a simple and direct way to get the position of an object in a parent folder without iterating with a dtml-in loop through all the objects of the folder and countring until one gets to the id of the said object?
a little python-script should do this trick for you: return context.objectIds().index('standard_html_header') cheers, maik -- Maik Jablonski __o www.zfl.uni-bielefeld.de _ \<_ Deutsche Zope User Group Bielefeld, Germany (_)/(_) www.dzug.org