Re: [Zope3-Users] Making site skins

2005-08-17 Thread Johan Carlsson
Some small success :-) I've figured out (thanks to input Dominik, others, and reading the source): - how to change the current skin - how to load a resource from that skin The following is currently running in my test View class: ns='resource' name='test_me.html' request=self.request

Re: [Zope3-Users] Making site skins

2005-08-17 Thread Johan Carlsson
Roger Ineichen wrote: Take a look at: src\zope\app\demo\skinpref It's a demo how you can use preferences for to switch the skin. Probably you can use some parts from there. Regards Roger Ineichen Thanks Roger, Sound like something right up my alley :-) /Johan -- Johan Carlsson Tel:

RE: [Zope3-Users] Making site skins

2005-08-17 Thread Roger Ineichen
Hi Johan -Original Message- From: Johan Carlsson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 17, 2005 8:38 PM To: [EMAIL PROTECTED] Subject: Re: [Zope3-Users] Making site skins And also thanks for reminding me of the src distribution of Zope3 :-) As a Windows user I run

Re: [Zope3-Users] Making site skins

2005-08-16 Thread Johan Carlsson
Ok, so far I figured out the following: 1. Resources gets registered as adapters in the Global Site Manager. 2. The adapter is registerd to adapt from the current layer interface (defaults to IDefaultBrowserLayer) to the Interface interface (strange, why is that so I wounder?) 3. The layer