[Zope] standard_html_header & standard_html_footer
Brian Lloyd
Brian@digicool.com
Tue, 18 Jan 2000 09:32:53 -0500
> Why are standard_html_header and standard_html_footer reserved names?
> I was trying to reduce the clutter in my root folder when I discovered
> that Zope wouldn't let me delete these two objects unless I modified
> _reserved_names in lib/python/Products/OFS/Application.py.
> --
> Stephen Pitts
Hi Stephen,
The standard header and footer in the root Folder are reserved
names that can't be deleted mainly because certain parts of
zope (such as the std error template and the "default" content
of new DTML Documents and Methods) expect them to be available.
If, say, a Zope newbie were to delete them without knowing what
the consequences were, they would then find that all of their
dtml docs/methods generated with the default content would
appear broken (and the error message reporting the error would
also probably be broken).
Brian Lloyd brian@digicool.com
Software Engineer 540.371.6909
Digital Creations http://www.digicool.com