Attention

This document was written for an unsupported version of Plone, Plone 2.5.x, and was last updated 1605 days ago.

For more information, see the version support policy.

To learn how to upgrade to the current version of Plone, read the upgrade manual.

Switching Skins

This Tutorial describes how Plone chooses a skin when you open a web page, and then describes the multiple ways that you can intervene to switch the skin. The Tutorial also discusses two common use cases, switching skins based on URL and the type of user (e.g., Anonymous or Authenticated).

Warning: This item is marked as outdated.

  1. Overview An overview of the tutorial.
  2. How Does Plone Choose a Skin? A description of the variables and processes that Plone uses to choose a skin each time you visit a page.
  3. Intervening to Switch a Skin A summary of the main ways you can intervene in Plone's skin-choosing process, to switch a skin.
  4. Making a Skin Switch Last How to make a skin switch last beyond a single REQUEST and page view.
  5. Use Case One: Skin By URL References for switching a skin based on URL.
  6. Use Case Two: Skin By Type of User Example code for allowing certain users to switch skins.
  7. Synchronizing Skin Layers and CSS/Javascript Resources How to ensure that the proper CSS/Javascript resources are used in different skins.
  8. Additional Documentation on Switching Skins References for switching skins by URL.

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

 

Contribute

Something wrong or out of date? Anybody can edit or create a new article in the knowledge base. Simply create an account on this site, log in, and click the Edit button to contribute.