I looked at 2.5 on surprised to see that apart from Control Panel only
'browser_id_manager' and 'temp_folder' are protected meaning you can delete
all the others. I threw a monkeypatch up that allows you to delete them
anyway, and it will work for pre 2.4 systems
(http://www.zope.org/Members/andym/Reserved)

But... when you restart Zope it recreates them all again for you :) However
you can delete the "Examples" and not have them come back ;)

Since its all one big function in Application.py, it will be a little bit
hard to monkey patch further but could probably be a little more consistent
to say the least.

----- Original Message -----
From: "Andy McKay" <[EMAIL PROTECTED]>
To: "Lennart Regebro" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, May 10, 2002 7:20 AM
Subject: Re: [Zope-dev] Can I get rid of standard_template.pt?


> If its the same as earlier zopes its line 174 of OFS\Application.py remove
> the offending reserved names. Except maybe for Control_Panel, it seems
> pointless. If the item's not there, an error is raised. Simple. To me
there
> should just be a warning message, "Removing this item may cause some
> products that expect this not to work, are you sure you want to do this?"
>
> Likewise I will probably get rid of standard_template.pt, most of the
> session stuff... This also lets you do useful things like make
> standard_error_message a Python Script, yipeee.
>
> ----- Original Message -----
> From: "Lennart Regebro" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, May 10, 2002 5:36 AM
> Subject: [Zope-dev] Can I get rid of standard_template.pt?
>
>
> > I'm not using it, and will never use it, so why does Zope 2.5.1 always
> > create one for me?
> > Grrr. Highly annoying. >:-[
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Zope-Dev maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope-dev
> > **  No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope )
> >
>
>
>
>
> _______________________________________________
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>




_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to