[pmwiki-users] farm css

JB jbit at ev1.net
Wed Aug 30 18:42:44 CDT 2006


For farm configuration there is 

  farmD/local/farmconfig.php - affects all farm wikis
  wikiD/local/config.php     - affects only the local wiki
  farmD/local/config.php     - affects only the local farm wiki

Currently the farm only has a single "local.css" file
which affects all the wikis.

Why not do something similar to configuration for the css

  farmD/pub/css/farm.css   - affects all farm wikis
  wikiD/pub/css/local.css  - affects only the local wiki
  farmD/pub/css/local.css  - affects only the local farm wiki

This could be added to the current distribution and be 
backwards compatible by using somthing like
 
  if farmD/pub/css/farm.css exists
      use farmD/pub/css/farm.css
  else
      use farmD/pub/css/local.css
  end if
  use wikiD/pub/css/local.css

This can be done with $PageCSSListFmt, but it seems 
to me that it should be in the main distribution.





More information about the pmwiki-users mailing list