cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JACOB, ERIC" <>
Subject RE: RE : Skins in the new Portal Engine
Date Thu, 30 Oct 2003 18:57:58 GMT
Thanks for the reply, but I think my question was not clear enough, so I'll
ask it again differently.

I looked to the XSL files in the portal demo and I was surprised by the use
of TABLE tags for the layout. I want to use DIV tags with CSS to control the
style of my hypertext document. In addition, I want a mechanism that allows
the user to change the skin (in my case the CSS file). I'm wondering how I
can achieve that within the new Portal Engine. Can I use the global variable
to specify the CSS using this variable in my unique portal-page.xsl for

Any suggestions?

Thanks in advance.

Eric Jacob

-----Original Message-----
From: Laurent Trillaud [] 
Sent: Thursday, October 30, 2003 4:05 AM
Subject: RE : Skins in the new Portal Engine

Well, if I understand you have only 1 static page that is render by
multiple CSSs.
IMO a portal is not very useful for you, but any way.
You can create a new skin.
1. Put your CSS as usual in skins/MySkin/css,
2. Edit the skins/MySkin/styles/portal-page.xsl to put your single XSL
file. You can ignore other XSLs files. And don't call any other
<xsl:apply-templates/> that are useful to render menu, coplet and so on.
3. If you don't want login, put a pass-through XSL in
It should work!
Laurent Trillaud

> -----Message d'origine-----
> De : JACOB, ERIC []
> Envoyé : mercredi 29 octobre 2003 14:15
> À :
> Objet : Skins in the new Portal Engine
> Hi all,
> What I understand, when you want to create a new skin, you have to
> many XSL files and switch the skin in the portal sitemap with the
> variable:
>           <map:global-variables>
>                 <skin>skins/common/</skin>
>           </map:global-variables>
> But my problem is that I use CSS files to customize my portal with
> one
> HTML page... So, I don't want to create different XSL for each skin.
> Instead, I want to use only one set of XSL files with many CSS. How I
> use the skin mechanism in Cocoon to achieve that?
> See the Zen Garden to know what I mean, a demonstration of what can be
> accomplished visually through CSS–based design.
> Thank,
> Eric Jacob
> PS: Sorry, my english is not very good...
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message