[Zope-Coders] more babbling, this time about site roots

Jens Vagelpohl jens@zope.com
Fri, 19 Jul 2002 09:04:24 -0400


+1 if casey's suggestion to just set "visibility=0" does indeed 
overcome that copy/paste problem.

however, who in their right mind would copy and paste a site root, 
anyway? it would most likely make the site immediately inaccessible 
at the place where you paste it... ;)

jens


On Friday, July 19, 2002, at 08:56 , Casey Duncan wrote:

> On Friday 19 July 2002 12:24 am, Chris McDonough wrote:
>> SiteRoots are evil and dangerous, but they need to stay in Zope for
>> backwards compatibility reasons.
>>
>> Would it be appropriate to keep the class around but filter them 
>> out of
>> the add list?  It seems kind of silly to have to document them (where
>> the documentation is "dont use them").
>
> Alternately you could add a note to the add form to the effect of: 
> "Don't use
> me use VHM".
>
> I know lots of people don't realize that siteroots are evil and use 
> them in
> new sites.
>
> I wonder if you just turn off visibility if that will prevent copy 
> and paste.
> Its worth trying. I'm all for removing useless stuff from the add list.
>
> -Casey
>
>
>
> _______________________________________________
> Zope-Coders mailing list
> Zope-Coders@zope.org
> http://lists.zope.org/mailman/listinfo/zope-coders