Hi Marc, You can use velocity to create your unique css static file. Using static css files and skins is the better solution, since you can then give each reseller and customer who could be a reseller also a way to include their own images.
Kind regards Jürgen Hoffmann -----Ursprüngliche Nachricht----- Von: Marc Lustig [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 27. Januar 2003 11:36 An: Turbine Users List Betreff: AW: processing external CSS-file throu velocity engine Thanks Akmal for your proposal. But this work only with internal css-data that will be loaded once again on each request. What I need is the external css-file that is only loaded once when the user logs in. Anyway, I'm getting used now to the idea of having a unique css-file for each user... > -----Ursprüngliche Nachricht----- > Von: Akmal Sarhan [mailto:[EMAIL PROTECTED]] > Gesendet: Montag, 27. Januar 2003 11:33 > An: Turbine Users List > Betreff: Re: processing external CSS-file throu velocity engine > > > if you insist on setting the css values dynamically according to each > user, here is a a proposal: > in your layouts/default.vm: > > #set($Alink="A:link { text-decoration: none; > color:$myPullTool.userAlink > ; } A:visited { text-decoration: none; color: $myPullTool.userVlink ; } ") > #set($Ahover="A:hover { text-decoration: none; color: > $myPullTool.userhover > ; } A:active { text-decoration: none; color: $myPullTool.userhlink; } ") > > .... > #set($style="$Alink$Ahover$Font$Th$Td ") > $page.addStyle("$style") > > hope this helps > Akmal > > ----- Original Message ----- > From: "Marc Lustig" <[EMAIL PROTECTED]> > To: "Turbine Users List" <[EMAIL PROTECTED]> > Sent: Monday, January 27, 2003 11:14 AM > Subject: AW: processing external CSS-file throu velocity engine > > > > > > > > > -----Ursprungliche Nachricht----- > > > Von: Jeffery Painter [mailto:[EMAIL PROTECTED]] > > > Gesendet: Sonntag, 26. Januar 2003 18:37 > > > An: Turbine Users List > > > Betreff: Re: processing external CSS-file throu velocity engine > > > > > > > > > This seems a little odd to me.. are you going to pre-define all > > > the layout styles before hand? couldn't you create different > > > layout templates and assign the user a different template which > > > would then call the corresponding css file? > > > > > > Right, I have a Reseller -> Reseller -> Customer user-hierarchy. A > > reseller defines the design-parameters that its customer (who > might be a > > reseller as well) will see when he logs in. > > Assigning a specific css-file to a user is not the problem. My idea > > was to have a single css-file for all users and assign the > > css-values using velocity/pull tool. But that appears quite > > difficult > task. > > > > What I'm doing now is this: when a reseller changes the > css-parameters, a > > css-file will be created and copied to all of his customers. This > > might > take > > a few seconds of rumble, but I can't figure out a better > solution to this. > > > > Thanks anyway for your idea. > > Marc > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>