[silva-dev] Text File edit feature and SilvaFlashAsset
Andy Altepeter
aaltepet at bethel.edu
Fri Aug 31 17:38:47 CEST 2007
Greetings,
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.
First, 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??
Supported mime types are text/* and application/x-javascript. Let me know if
there are other mime types that are text and should be allowed.
Second, SilvaFlashAsset:
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.
Cheers,
Andy
More information about the silva-dev
mailing list