[TYPO3] Style switcher

Kevin Renskers info at dualdot.nl
Sat Apr 15 12:08:30 CEST 2006


Hi list,

Today I was working on a styleswitcher for my typo3 site, that lets 
visitors choose which "theme" they use on the site (in other words: a 
css stylesheet switcher). I used www.alistapart.com/articles/alternate 
for this. Okay later on I noticed there is an extension for this, but 
yeah.. :)

Well I got it all working, someone can very easily choose another theme 
from a dropdown list and Javascript will change the stylesheet and set a 
cookie and all. Then I noticed a pretty big problem: I use gifbuilder to 
create images for the menu, and all headers are rendered as nice images. 
Of course the fonts and background images I use can't be the same for 
all themes.

So how can I make this work? How can a visitor choose another theme that 
not only changes the stylesheet but also the way the typoscript is used?

I hope you understand my problem :)
Kevin Renskers



More information about the TYPO3-english mailing list