public function __construct($options = array()) { //merge in the default settings $this->setDefaults($this->_default_defaults); parent::__construct($options); //$this->addTemplatePath( dirname(__FILE__).'/templates' ); }
protected function initialize() { //add it before the parent initialize, so it appears before the standard hero $this->addHook('before:lower-container', 'superhero'); $this->addHTML('navbar.class', 'transparent superhero'); parent::initialize(); }