forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: stwief on July 27, 2005, 08:32:51 pm

Title: css-styleswitcher
Post by: stwief on July 27, 2005, 08:32:51 pm
I'm integrating Coppermine in an existing website, and in this site I used a css styleswitcher. In a cookie, i store one variable: "$colour". This is also the name of the different css-files. In total, I have 6 different stylesheets (only the colours vary), and it's no problem to adjust these css-files so that they work for the entire site, included coppermine.
But I do have another problem: how can I tell coppermine which css file it should use?
In template.html, I can adjust the css, but I can't work with php code to switch to different stylesheets offcourse..

anybody has an idea?

thanks!