Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A Phantasy theme variation for Plone, with 3 dynamic colors

Project description


I. Introduction

A collective phantasy dynamic theme.
Based on three colors.

II. Installation

Read docs/INSTALL.txt to install this package in your zope instance
using buildout or easy_install (read it carefully ! there's an overrides

In your Plone site > ZMI > portal_quickinstaller

Choose "Three Colors Theme" product, and click on Install
This will install the plone product and all dependencies
(collective.phantasy and SmartColorWidget)

III. Usage

1. Change skin for the portal :

- Go to your plone site > dynamic-root-skin

- click on edit

- change the 3 colors,

- change the dimensions and other fields values

- set filenames for some fields

- load your custom css or images inside the skin
using "Import Files" form (post a zip with all your files)
or using PloneFlashUpload (a powerful Plone product)

- take care of filenames inside the skin
(they must be the same as names inside the skin edit form, perhaps you will need to change
the values because Plone has changed them for valid ids).

2. change a skin for a folder :

- Go to your plone site > folder-skins-repository

- Add a new phantasy skin inside the skins repository

- In this new skin you will get the same values as set in dynamic-root-skin

- Change it (do the same thing as you've done in $1)

- Go to any folder on your site for which you want another skin

- Click on "edit" tab

- A "phantasy-skin" field is available
so you can browse the portal to choose another skin for your folder.

- Note that the folder get the two css (from the root skin and from the folder skin)

3. Create a new skin with Samples provided in this product

- Add a new dynamic skin (see $1 & $2)

- Click on import images and files

- Inside the folder alternate_skin, choose the archive click on Import

- Read howtouseit.txt (to set values according to new images)

- There is another example inside ornicart_skin Folder

collective.threecolorstheme Installation

To install collective.threecolorstheme 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.threecolorstheme``. Find out how to install setuptools
(and EasyInstall) here:

* If you are using Zope 2.9 (not 2.10), get `pythonproducts`_ and install it

python install --home /path/to/instance

into your Zope instance.

* Create a file called ``collective.threecolorstheme-configure.zcml`` in the
``/path/to/instance/etc/package-includes`` directory. The file
should only contain this::

<include package="collective.threecolorstheme" />

* Create a file called ``collective.threecolorstheme-overrides.zcml`` in the
``/path/to/instance/etc/package-includes`` directory. The file
should only contain this::

<include package="collective.threecolorstheme" file="overrides.zcml" />

.. _pythonproducts:

Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance
recipe to manage your project, you can do this:

* Add ``collective.threecolorstheme`` to the list of eggs to install, e.g.:

eggs =

* Tell the plone.recipe.zope2instance recipe to install a ZCML slug:

recipe = plone.recipe.zope2instance
zcml =

* Re-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.





* Initial release

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for collective.threecolorstheme, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size collective.threecolorstheme-0.1-py2.4.egg (312.2 kB) File type Egg Python version 2.4 Upload date Hashes View
Filename, size (310.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page