01001: Problem with group css in Farm mode

Summary: Problem with group css in Farm mode
Created: 2008-01-09 16:05
Status: Closed (Not a bug)
Category: Bug
Assigned:
Priority: 44
Version: 2.2.0-beta65
OS: na

Description: Group css using pub/css/PITS.css doesn't work in Farm mode.

Patch:

line 31 in file script/skin.php:

SDV($PageCSSListFmt,array(
  'pub/css/local.css' => '$PubDirUrl/css/local.css',
  'pub/css/{$Group}.css' => '$PubDirUrl/css/{$Group}.css',
  'pub/css/{$FullName}.css' => '$PubDirUrl/css/{$FullName}.css'));

should be:

SDV($PageCSSListFmt,array(
  '$FarmD/pub/css/local.css' => '$PubDirUrl/css/local.css',
  '$FarmD/pub/css/{$Group}.css' => '$PubDirUrl/css/{$Group}.css',
  '$FarmD/pub/css/{$FullName}.css' => '$PubDirUrl/css/{$FullName}.css'));

regards,

  JA.
This is not a bug. CSS files for each wiki (local.css, {$Group}.css, {$FullName}.css) are related to pages in the current wiki field and should be in the field's pub directory, and not in the Farm's one.
Should you need to use the Farm's pub directory, set in config.php this code:
$PageCSSListFmt = array(
  '$FarmD/pub/css/local.css' => '$PubDirUrl/css/local.css',
  '$FarmD/pub/css/{$Group}.css' => '$PubDirUrl/css/{$Group}.css',
  '$FarmD/pub/css/{$FullName}.css' => '$PubDirUrl/css/{$FullName}.css');
--Petko January 31, 2009, at 04:19 PM