6 May 20:32
File-system themes (a.k.a "global" themes)
Hi! CPSSkins themes can now be loaded directly from the file-system. see the demo which shows the entire workflow: http://www.z3lab.org/sections/front-page/design-features/file-system-themes-k this is performed quite simply by first creating them through-the-web and by exporting them as a TAR archive, then they can be loaded from any package with: <configure xmlns:cpsskins="http://namespaces.zope.org/cpsskins"> <cpsskins:setup site="site-2006-05-06-18.01.47.tgz" /> </configure> such themes are registered in the global site manager upon server startup. Use cases are for applications whose appearance needs not be modified through-the-web. Portlets located in slots are supported too since they're not stored in local folders but stored in a central portlet "repository". Theoretically global themes can be modified, but there is no point in modifying them when the server is in production, since they're volatile and ZEO-based setups would get out-of-sync. However there is a case where modifying them in RAM would make sense, i.e. when developing a site collaboratively; indeed it is trivial to implement automatic reloads from the file-system on svn updates for instance... /JM
RSS Feed