Personal tools
You are here: Home Documentation Tutorials Switching Skins Use Case One: Skin By URL
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

Use Case One: Skin By URL

References for switching a skin based on URL.

George Lee

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).
Page 5 of 8.

Suppose that you want your site to use different skins depending on whether it is accessed via http://prefix1.---, http://prefix2.---, etc.

A skin must be being determined every time the site is accessed ("What does the URL look like? Well then, let's use this skin"). So, an Access Rule is the best way to switch the skin.

Once again, see EnSimpleStaging Tutorial - Switching Skins By URL and Using Zope/Apache to Switch Skins By URL for examples.

 
by George Lee last modified October 21, 2006 - 19:59 All content is copyright Plone Foundation and the individual contributors.

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