Hello All,
I am trying to make the following code (a modified version of)
https://css-tricks.com/snippets/php/...sed-on-season/
in that it will be used to display a different css file (instead of a graphic) based on the season...The code does work, but I want to create a smarty variable for it and when I did, I ran into problems.
Here's the code in my includes/controllers/common.inc.php file:
In my head.tplPHP Code:
Only registered members can view the code.
In my header.tplCode:Only registered members can view the code.
The page is showing like normal, but in the spring.css I have only one css definition for the body and that is:Code:Only registered members can view the code.
That should change the body of the page to white, but it's not changing. Is this because I have to remove the body css from the flynax style.css for it to work? What will make it work? The reason behind using this script is so that I won't screw up my original style.css file.Code:Only registered members can view the code.
Brian