a small snippet format question again, sorry.
I installed "serendipity_event_templatechooser" and added this to my index.tpl:
- Code: Select all
Apparently this is either not how it works or I use the wrong template names. As I understood from an older post, I just need to install the template chooser and add the link in the format "index.php?serendipity[template]=mimbo" but I must overlook something since it doesn't work
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