[Zope] End User Customization of Python Product DTML
Kapil Thangavelu
kthangavelu@earthlink.net
Sun, 27 Aug 2000 11:07:48 -0700
I've been fumbling with this for the last week or so.
I've got a Python Product NewsSyndicate, which setups feeds for a bunch
of RSS channels.
I'd like to have the display for that content be end user customized in
the management interface not through editing dtml on the file system and
I'd like to keep this product in python (as opposed to a zclass split).
i experimented with a folder that i instantiated with various dtml_views
upon product creation. i then set the view methods of all the generated
rss channels equal to the views in this folder. it works, but it seems a
bit flaky. in retrospect this seems like a bad way to do it, since i'm
basically setting up hundreds of references to a method, and if it gets
deleted in the management screen i can't reassociate easily a new one to
the exisiting channels. if anyone has any ideas i'd love to hear them.
Kapil