Personal tools
You are here: Home Documentation Tutorials DIYPloneStyle: Creating a Custom Style for Plone
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

DIYPloneStyle: Creating a Custom Style for Plone

This Tutorial applies to: Plone 2.5.x, Plone 2.1.x
This Tutorial is intended for: Integrators, Customizers

This tutorial will teach you how DIYPloneStyle can be used as a base for creating a custom style product for Plone 2.1 or Plone 2.5 that adds to a portal a new skin selection and makes use of the new stylesheet and javascript registries.

davconvent

All content on one page (useful for printing, presentation mode etc.)

  1. Introduction Introducing DIYPloneStyle and the purpose of this tutorial.
  2. Installation and basic example Quick learning from the basic example included in DIYPloneStyle.
  3. Getting Started - The Manual Way Preparing DIYPloneStyle for making it the skeleton of a new visual theme for Plone.
  4. Getting Started - The Automated Way Using the built-in generator script for quick skeleton creation.
  5. Organizing the skins layers A bit of theory on the portal_skins tool mechanism.
  6. Working with Base Properties Editing base_properties.props for quick customization.
  7. Registering and customizing stylesheets Best use of the Resource Registries.
  8. Troubleshooting Some solutions in case you encounter problems.
  9. Resources Related documentation, Zope/Plone products and CSS oriented developer tools.
  10. Translations This tutorial in your language (?).
 

see also:

Creating a new theme for Plone: a real-world example (Plone 2.1, 2.5)
In this tutorial, Alexander Limi will show you how to take a default Plone site and put a totally different look on it. (Not updated for Plone 3.0)
Using the Resource Registries to control CSS and Javascript
Plone has two neat tools for managing Cascading Stylesheets and Javascript in a handy way. This tutorial explains some whys and hows and even has a minimal practical example of how it works.
by David Convent last modified May 23, 2008 - 22:15 All content is copyright Plone Foundation and the individual contributors.

switch skin for auth users to plone default

Posted by Christof Haemmerle at December 1, 2006 - 20:38
is there any easy way to enable skinswitching back to the plone default skin for authenticated users this with automated way?

See George Lee's tutorial

Posted by David Convent at December 1, 2006 - 22:16
Techniques for switching skins upon certain conditions (URL or kind of user for instances) are detailed in George Lee's tutorial about.. switching skins. ;)

The tutorial can be found here:
http://plone.org/documentation/tutorial/switching-skins.

Focus on the chapter about switching skins by type of user:
http://plone.org/documentation/tutorial/switching-skins/use-case-two-skin-by-type-of-user.

Enjoy!

george lee's tutorial

Posted by Christof Haemmerle at December 1, 2006 - 22:21
hi dave yes i found that, but whouldn't it be cool to bet that functionality into the product and also in the generation script?

christof

Hi christof :)

Posted by David Convent at December 1, 2006 - 22:32
Can you please fill up an issue in the tracker so that we can move the discussion there?
cheers

Rephrase the description?

Posted by Roger Erens at February 15, 2007 - 15:56
Hi David,

I find the current description rather cryptic. How about rephrasing it to something like this:
This tutorial will teach you how DIYPloneStyle can be used as a base for creating a custom style. The product DIYPloneStyle adds a new skin selection item to a portal. It uses the new stylesheet and javascript registries that were introduced in Plone 2.?.?.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by