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
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:
Hi Johan
On Behalf Of Johan Carlsson
> Sent: Wednesday, August 17, 2005 7:59 PM
> To: Dominik Huber
> Cc: zope3-users@zope.org
> Subject: Re: [Zope3-Users] Making site skins
>
>
> Some small success :-)
>
> I've figured out (thanks to input Dominik,
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
object=s
Johan Carlsson wrote:
(zope.app.publication.httpfactory.HTTPPublicationRequestFactory ->
zope.app.publication.browser.setDefaultSkin)
Afterward the specific adapters such as views get invoked, because
you register those to a dedicated request interface using the layer
attribute. Attention th
Dominik Huber wrote:
Johan Carlsson wrote:
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
(strang
Dominik Huber wrote:
Johan Carlsson wrote:
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
(strang
Johan Carlsson wrote:
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 wo
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 int
Hi,
I'm looking for a way to have several separate site designs
in the same server.
The designs could be implemented using a skin definition.
I want to be able to assign different designs to different objects
in the database.
Now I got an Zope application that is the target application, so
I c
10 matches
Mail list logo