Permalink
Browse files

add taxonomy_class to HTML body

  • Loading branch information...
1 parent d2e1604 commit 534cef45b50941ad672a4156df8e04ebda367e1b @norbertlaposa norbertlaposa committed May 16, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 controllers/node/page/default.php
@@ -98,10 +98,10 @@ public function processPage() {
/**
- * save node_controller and page css_class into registry to be used in sys/(x)html* as body class
+ * save node_controller, page css_class and taxonomy_class into registry to be used in sys/(x)html* as body class
*/
- Zend_Registry::set('body_css_class', "{$node_data['node_controller']} {$node_data['css_class']}");
+ Zend_Registry::set('body_css_class', "{$node_data['node_controller']} {$node_data['css_class']} {$node_data['taxonomy_class']}");
/**

0 comments on commit 534cef4

Please sign in to comment.