mikeemmessen Posted October 13, 2007 Share Posted October 13, 2007 Dynamic Stylesheet for osC You can download this contribution here: Using this small piece of code will allow a different look for your shop in different circumstances, for example changing the style once the customer has logged in, or allowing a different look for different customer groups, if you are using a B2B contribution. I'm sure there must be many more cases in which it would be nice to make your stylesheet more dynamic. This contribution turns your static stylesheet.css into a dynamic stylesheet.php file, after which every stylesheet element can be replaced by dynamic (php string) values. Only a very small fix is needed to achieve this. Have fun with it! Mikee Quote Link to comment Share on other sites More sharing options...
mikeemmessen Posted October 13, 2007 Author Share Posted October 13, 2007 This contribution can be downloaded via: http://addons.oscommerce.com/info/5469 Quote Link to comment Share on other sites More sharing options...
shoke Posted December 10, 2008 Share Posted December 10, 2008 (edited) Hello, I have a question about the use of this addon. Can I use diferents styles depending on the category selected? Sorry for my bad english Edited December 10, 2008 by shoke Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.