I've noticed that the standard install of this mod effectively removes the 'custom category handling for a parent and all its children' as in the use of c_??_??_children.css stylesheets. I can reinstate this by leaving the following code in html_header.php
Code:
/**
* custom category handling for a parent and all its children ... works for any c_XX_XX_children.css where XX_XX is any parent category
*/
$tmp_cats = explode('_', $cPath);
$value = '';
foreach($tmp_cats as $val) {
$value .= $val;
$perpagefile = $template->get_template_dir('.css', DIR_WS_TEMPLATE, $current_page_base, 'css') . '/c_' . $value . '_children.css';
if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";
$perpagefile = $template->get_template_dir('.css', DIR_WS_TEMPLATE, $current_page_base, 'css') . '/' . $_SESSION['language'] . '_c_' . $value . '_children.css';
if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n";
$value .= '_';
}
This obviously means that the c_XX_XX_children.css is not minimised. I would have expected the above code to have been incorporated in to the /plugins/riCjLoader/RiCjLoaderPlugin.php file - as is the case with the other stylesheets.
Does anyone have an example of how the RiCjLoaderPlugin.php code should be modified?