a small snippet format question again, sorry.
I installed "serendipity_event_templatechooser" and added this to my index.tpl:
Code: Select all
<a href="index.php?serendipity[template]=mimbo-eni">Green</a>
<a href="index.php?serendipity[template]=mimbo-eni-red">Red</a>
<a href="index.php?serendipity[template]=mimbo-eni-purple">Purple</a>
What I basically want to do is let the visitor choose the link (highlight) color of mimbo which is actually changing just five font color parameter in the style.css file. I tried adding a simple php css switch first but couldn't get it to work. I suppose because Smarty needs a different syntax and I didn't do it right. So I wanted to try it with the template chooser now, which is a bit overkill for just one color in the css file, but oh well. I don't want the dropdown but just a small line of colored mini-squares on top of my header to click on for the color switch. I tried looking at the dropdown source code of the blog but I have no idea how to rewrite that from a dropdown list to plain links
~eni