I've written a simple index_html method that allows me to subvert Zope's folders to create a url directory. the method iterates through objectValues(['Folder', 'DTML Document']). If the object has a property 'url', it displays it as a link, otherwise, it's a folder and is displayed as a link to move into that folder. It's simple and works well. My problem is that I'd like to simplify adding links and folders. For now, I've been using the management interface to do so. I'd like to build my own. I was able to create an addFolder method, and it worked fine except that it returned me to the management view of the folder, instead of the standard public view of the folder. I would like to create an addDTMLDocument method, but I couldn't figure out how to do so while also adding a property (url = "http://xxx.yyy.zzz", etc). Any help is appreciated, and I can upload what I have to my zope.org folder if that would help. Thanks, Bill Scherer
participants (1)
-
Bill Scherer