21 Aug
2002
21 Aug
'02
9:03 p.m.
Tim Hicks wrote:
Files - may be appropriate as they can just store text and can be edited through the ZMI if less than 64KB I believe. Still, if I want to have the index_html zpt present the contents, I'll have to have urls explicitly of the form file/index_html, otherwise I presume I'll just get a file download prompt from my browser.
If you really want to work it this way, you can use a Folder containing a text/plain File. For example, if you standardize on the name 'content.html' for the File object, your index_html ZPT can use: <div tal:replace="structure here/content.html">Content</div> This way, you still have a convient ZMI interface (especially with ExternalEditor!) for your content. Cheers, Evan @ 4-am