Difference between revisions of "Addons:Theme"
Jump to navigation
Jump to search
(Created page with "All themes must be a PHP file ending with ".css.php". To process the file it's necessary to add the following line to the code: header('Content-type: text/css'); The GET para...") |
|||
Line 2: | Line 2: | ||
header('Content-type: text/css'); | header('Content-type: text/css'); | ||
The GET parameter "color" contains the current style color ('#12345' will be '12345') if you want to use it. | The GET parameter "color" contains the current style color ('#12345' will be '12345') if you want to use it. | ||
+ | |||
+ | |||
+ | [[Category:Addons]] |
Latest revision as of 09:27, 21 May 2017
All themes must be a PHP file ending with ".css.php". To process the file it's necessary to add the following line to the code:
header('Content-type: text/css');
The GET parameter "color" contains the current style color ('#12345' will be '12345') if you want to use it.