[pmwiki-users] farmpub local.css
Patrick R. Michaud
pmichaud at pobox.com
Sun Jul 31 08:41:52 CDT 2005
On Sun, Jul 31, 2005 at 12:03:50PM +0100, Hans wrote:
> On my farm I defined $FarmPubDirUrl in farmconfig.php.
>
> A farm/pub/css/local.css file does not load, even though a
> field/pub/css/local.css file does not exist.
>
> A field/pub/css/local.css if it exists loads automatically.
>
> The skins from farm/pub/skins/ also load fine.
>
> How can I get farm/pub/css/local.css to load automatically for all
> fields?
$PageCSSListFmt = array(
'$FarmD/pub/css/local.css' => '$FarmPubDirUrl/css/local.css',
'$FarmD/pub/css/$Group.css' => '$FarmPubDirUrl/css/$Group.css',
'$FarmD/pub/css/$FullName.css' => '$FarmPubDirUrl/css/$FullName.css',
'pub/css/local.css' => '$PubDirUrl/css/local.css',
'pub/css/$Group.css' => '$PubDirUrl/css/$Group.css',
'pub/css/$FullName.css' => '$PubDirUrl/css/$FullName.css'));
Note that this loads all of the matching .css files; thus if
a pub/css/local.css exists in both the farm and field directories,
both are loaded.
Pm
More information about the pmwiki-users
mailing list