Last modified: 2011-03-13 18:04:59 UTC
In PHPTal skins.
The stylesheet used depends of the skinname variable.
Actually we initialise a skin with:
$skinname : name of the skin
$template : name of the template
We need a $style private variable in the skin Class. This way a skin designer
can use styles from another skin without copying an already existing stylesheet
An example of the trouble is in cvs HEAD:
The /stylesheets/ directory contains duplicate datas.
couldn't he just include the style files from a different skin in his skin's
I think I finished moving /stylesheets/ to /skins/ . There must be a lot
of bugs laying around. Most skins works well now and PHPTal can load
stylesheets from another skin (using private $stylename).
TODO : Need to let skin designers change pictures.
I need to document the move so this bug is now blocking the documentation bug.
Instead, one can use the "MySkin" skin which will give out the monobook layout
without any css. Then user can use his own stylesheet user:foo/myskin.css