[Zope-CMF] Custom folder_contents

Tonico Strasser contact_tonico at yahoo.de
Tue Dec 9 12:15:24 EST 2003


Hello,

I want to leave the original folder_contents template and override it in 
my skinned folder. (Working with scriptable type information.) I've 
created a python script with the ID 'folder_contents':

if <condition>:
   return context.my_folder_contents()
else:
   return context.folder_contents()

Of course this gives me 'Excessive recursion'. Is it possible to 
conditionally override 'folder_contents' without renaming it?

TIA
Tonico






More information about the Zope-CMF mailing list