/ Published in: PHP

Put this in the template.php within your template directory.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* simple example */ function phptemplate_preprocess_page(&$vars) { drupal_add_css(THEMEPATH.'/css/sifr.css','theme'); $css = drupal_add_css(); //unset($css['all']['module']['modules/system/system.css']); //unset($css['all']['module']['modules/system/defaults.css']); //unset($css['all']['module']['modules/system/system-menus.css']); $vars['styles'] = drupal_get_css($css); } /* whitelist */ function pbot_preprocess_page(&$v) { $css = drupal_add_css(); foreach( $css['all']['module'] as $stylesheet => $val ) { { } } $v['styles'] = drupal_get_css($css); }
Comments
