This is a discussion on Dynamic Stylesheet within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Dynamic Stylesheet for osC Using this small piece of code will allow a different look for your shop in different ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| 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 More...
__________________ Michael Sasek osCMax Developer
|
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| stylesheet issue | gnfb | osCommerce 2.2 Modification Help | 1 | 04-21-2007 02:07 AM |
| Stylesheet with descriptions | michael_s | New osCommerce Contributions | 0 | 03-11-2007 05:10 AM |
| stylesheet-css.css | samsin1 | osCMax v1.7 Installation | 3 | 09-16-2004 03:21 PM |
| stylesheet help | Dumb_Question | osCommerce 2.2 Modification Help | 5 | 04-13-2003 08:59 PM |
| problem with my stylesheet.css | Anonymous | osCommerce 2.2 Modification Help | 1 | 10-18-2002 09:30 PM |