[pmwiki-users] Using variable in skin template

Hans design5 at softflow.co.uk
Sat Oct 24 02:32:11 CDT 2009


Friday, October 23, 2009, 11:14:24 PM, Sandy wrote:

> Thinking further, can this go in skin.php?
> $color1 = '#00cc00';
> That keeps all the skin stuff in the skin, and avoids $HTMLStylesFmt[].

why don't you just set the color attributes in
the skin's css file? after all, the purpose of the
css file is to have one location for changing atributes
site-wide. There is realy no need to set a color attribute
via a php variable, unles one wants to dynamically
manipulate it, say by using value sset in a wiki page.


  ~Hans




More information about the pmwiki-users mailing list