Collective.phantasy
Dynamic themes for Plone. IMPORTANT : See "All releases" to access different packages (collective phantasy or themes based on phantasy).
Current release
Collective.phantasy threecolorstheme-0.1
Released Oct 22, 2008 — tested with Plone 3
A dynamic theme for plone based on Collective Phantasy. Initial release
-
Get
Collective.phantasy
for
all platforms
(302 kB)
- Zip Package on Pypi
Project Description
Introduction
Change the skin of your plone site with a simple form. Create different skins with the same form. Change the skin of any ATFolder based type. Upload images with the same name in the skin using a tgz or a zip, to overload standard plone skin images referenced in css.
Dependencies :
- Plone 3.1.x and more
- archetypes.schemaextender
- Products.SmartColorWidget
These 2 last dependencies are automatically installed with package when using easy_install or buildout.
Installation :
Zope install
To install collective.phantasy into the global Python environment (or a workingenv), using a traditional Zope 2 instance, you can do this:
When you're reading this you have probably already run easy_install collective.phantasy. Find out how to install setuptools (and EasyInstall) here: http://peak.telecommunity.com/DevCenter/EasyInstall
If you are using Zope 2.9 (not 2.10), get pythonproducts and install it via:
python setup.py install --home /path/to/instance
into your Zope instance.
Create a file called collective.phantasy-configure.zcml in the /path/to/instance/etc/package-includes directory. The file should only contain this:
<include package="collective.phantasy" />
Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance recipe to manage your project, you can do this:
Add collective.phantasy to the list of eggs to install, e.g.:
[buildout] ... eggs = ... collective.phantasyTell the plone.recipe.zope2instance recipe to install a ZCML slug:
[instance] recipe = plone.recipe.zope2instance ... zcml = collective.phantasyRe-run buildout, e.g. with:
$ ./bin/buildout
You can skip the ZCML slug if you are going to explicitly include the package from another package's configure.zcml file.
Plone Install
In your plone site > portal_quickinstaller, Install "Collective.phantasy"
This will install SmartColorWidget + collective.phantasy
TODO :
Improve get_cooked_css to generate css with unique ids depending on last skin modifications, to avoid proxy caching of an old stylesheet.
More documentation and screencasts :
http://macadames.wordpress.com/2008/10/13/collective-phantasy/
http://macadames.wordpress.com/2008/10/21/3-colors-theme-a-collective-phantasy-based-theme/
THANKS TO :
Gilles my big nounours who help me any day of my IngeniLife to understand strange Plone concepts.
Ingeniweb boys and Girls (this product could be supported by Ingeniweb in future depending on how many people are interested in)
Emmanuel Bonnetot who is always here in my Plone nightmares saying : "Jean-mathieu il y a encore un bug".

