/ Published in: PHP
Removes the core, and node styles from the $style variable.
You most morbably already defined phptemplatevariables($hook, $vars), in that case just add the two lines there. sympaltheme.. is the name of the theme where we use this.
Expand |
Embed | Plain Text
function _phptemplate_variables($hook, $vars) { switch ($hook) { case 'page': $vars['css'] = _sympal_theme_unset_css($vars['css']); $vars['styles'] = drupal_get_css($vars['css']); break; } return $vars; } /** * Unset all module and core styles **/ function _sympal_theme_unset_css($css) { } return $css; }
You need to login to post a comment.
