O'Reilly logo

Professional Plone Development: Building robust, content-centric web applications with Plone 3, an open source Content Management System by Martin Aspeli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The Theme Package

As with the optilux.policy product from Chapter 5, we will use paster to create the package containing the theme. This time, we will use the plone3_theme template. Go to the src/ directory of our buildout, and run:

$ paster create -t plone3_theme optilux.theme

Enter optilux as the namespace of the package, and theme as the package name. The skin name should be Optilux Theme, the skin base should be left as Plone Default, and the zip safe flag should be set to False. The answers to the other questions are less important unless you plan to release the theme to the Python Cheese Shop, in which case you should enter a contact name and email address, as well as the package’s license.

There should now be a new egg in src/optilux.theme ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required