<dtml-var standard_html_header>

<dtml-var chameleon-folder.gif>
<h3>Chameleon</h3>

<p>A Chameleon is a special type of Folder object that allows a
webmaster or content designer to specify multiple Skins through which
their content can be viewed.  The Chameleon then provides the
approprate presentation for the user, depending on the view they have
selected.  The designer can specify a default view, and needs to
provide an interface for setting a cookie (the name is configurable)
that the Chameleon will use to serve the right skin to the user.</p>

<p>How is this a useful product?  It is useful for simple tasks such
as allowing users of a portal to choose from several appearances
(although it would not let them necessarily create their own custom
skin without additional priviledges).  It also could be useful for
creating internationalized versions of a site, using the cookie to
control the language in which the content should be viewed.</p>

<p>Combined with Zope's other template processing tools, it is
possible to separate program logic from program presentation.  The
program logic can reside in the root level of the Chameleon, and
various presentation Skins can be created within the Chameleon to
provide different views for different users.</p>

<p>An example is provided (requires TinyTable) to show how placing
objects in different places affects the appearance of the
Chameleon.</p>

<h4>See Also</h4>
<ul>
<li><a href="Chameleon-How-To">How-To</a>
<li><a href="Reference">Reference Manual</a>
</ul>

<p><a href="Credits">Credits</a></p>

<dtml-var standard_html_footer>