[TYPO3-dev] different skin for different users?

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Feb 14 12:09:15 CET 2006


Georg Ringer schrieb:
>>It is possible with TS conditionals.
> 
> Can you please give me a clue?

Say, you want to distinct the skins simply by different css files, you can do it like this:

page.includeCSS.base = general.css

# skin for group with id 1
[usergroup = 1]
page.includeCSS.skin = skin1.css
[end]

# skin for group with id 5
[usergroup = 5]
page.includeCSS.skin = skin2.css
[end]

# skin for user with id 11
[loginUser = 11]
page.includeCSS.skin = userskin.css
[end]

Of course you can make all kinds of changes of the TS object tree in the conditionals (eg. you could use different images).

Masi




More information about the TYPO3-dev mailing list