[silva-dev] Text File edit feature and SilvaFlashAsset
aaltepet at bethel.edu
Fri Aug 31 17:38:47 CEST 2007
I wanted you all to know that I've made a few changes in svn, to the trunks of
Silva and SilvaFlashAsset. Primarily this is in response to a need for
increased Flash capabilities in Silva.
The SilvaFile edit interface in the SMI now provides a text box to edit
textual content that is under 150K. This "should" work for both those using
the normal ZODBFiles, and those using a FilesService to store SilvaFile
content in the filesystem. BUT, I don't have a FilesService setup, so if
someone could verify/test this??
there are other mime types that are text and should be allowed.
I've done some major refactoring. The goal of this refactoring is to make
SilvaFlashAsset's more "SilvaCodeSource-like", so that the public rendering
and the parameters form can be edited. The current version uses a global
form and edit template.
With new FlashAssets, you can edit the parameters form and the public view
script in the ZMI, just like any other code source.
Note: a major change here will break existing SilvaFlash objects if you
install this and don't upgrade...you'll get an AttributeError about '_file'.
So there it is. Let me know what you think.
More information about the silva-dev