Community Add-Ons

Maintainers: mikeemmessen
Add file to this package
Top » Features

Dynamic Stylesheet
for osCommerce Online Merchant v2.2

Dynamic Stylesheet for osC

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.

This contribution is only the first step to making your stylesheet dynamic. It allows for many varieties of dynamic stylesheets, depending on your wishes, and your coding skills ;)

The support thread for this contribution is: http://forums.oscommerce.com/index.php?showtopic=279835

Legend:  Download   Report
Expand All / Collapse All
Dynamic Stylesheet mikeemmessen 13 Oct 2007  

Dynamic Stylesheet for osC

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.

This contribution is only the first step to making your stylesheet dynamic. It allows for many varieties of dynamic stylesheets, depending on your wishes, and your coding skills ;)

The support thread for this contribution is: http://forums.oscommerce.com/index.php?showtopic=279835