[Zope-CMF] centralize skins for multiple cmf sites on same server

Chris Withers chrisw@nipltd.com
Thu, 15 Aug 2002 13:40:00 +0100


george donnelly wrote:
> yes, that's basically what happens by default, if i understand you
> correctly. But what about for those of us who are not content with the
> default skin and want to take advantage of zope's TTW editing, who want the
> skins in Zope?

If you want TTW editing, you're at a bit of a loss :-S
However, if editing via FTP is okay, then thre is a solution :-)

> eg, I have folders content, control and generic and these are zodb objects,
> nothing in them sits on the filesystem bc its all customized. And i want to
> be able to make a change to a file or files in these folders and have them
> ripple through all my CMF sites. The stuff unique to each CMf instance can
> site in folder custom that is in the CMfSite/porta_skins directory, but
> otherwise everything is centralized.

Yup, so, what I'd do is put the common stuff on the file system and write an 
external method that registered the folder where you put it as a File System 
Directory View. Then I'd 'Add' that FSDV as a skin layer in each of your sites.

This file system skin layer can then be edited by FTP'ing into the machien 
hosting your Zope site.

would this work?

cheers,

Chris