[z3-five] Question about skins usage
Philipp von Weitershausen
philipp at weitershausen.de
Tue Jul 25 13:47:16 CEST 2006
Maciej Wiśniowski wrote:
> Hi
>
> I've written product that defines my skin (named Skintest) but as far as
> I found I
> can use this in two ways only:
>
> 1. by writing ++skin++Skintest/ in url
> 2. by defining my skin as defaultSkin with overrides.zcml
3. wherever you want you can attach a skin to the request, e.g. during
traversal somewhere.
> I based on Web Component Development with Zope3 from
> Philipp von Weitershausen, althouht I'm using Zope 2.9.4 and
> Five 1.4 now.
>
> Say, I would like to have few skins used in few different products.
Why? The one-layer-per-product rule from the CMF is pretty stupid.
> Is there a way to define which view uses which skin?
Not really.
> Or how should I define URLs in my application to take care
> about skins?
Why do you need this at all? What's your use case? Let's start there and
see if several skins are actually necessary.
Philipp
More information about the z3-five
mailing list