[Zope] zope: methods and settings

Jan Jan" <esolutions@gmx.net
Mon, 7 May 2001 13:03:32 +0200


hello,

i hope someone can help me with two (hopefully) easy questions.

1. i would like to write a method that creates a folder and a default
dtml-document. this methods shall be started through a form. at the moment i
can use this method in order to create a folder (id is given via form) and a
default dtml-document, both in the directory from which the method is
started. how can i make settings so that the default dtml-document is
created in the new folder, or put into the folder directly after creation?

2. i list zope folders in a navigation. in order to list them in a special
order i use an attribute (index). is it possible to display the value of
this attribute for each document or folder in the management screen in
addition to id and name?

thanks a lot in advance,

jan