I do this trough
Code: Select all
$this->document->addStyle($style);
$this->document->addScript(HTTPS_SERVER . 'catalog/view/javascript/module-tombola.js');
Code: Select all
$this->data['styles'] = $this->document->styles;
$this->data['scripts'] = $this->document->scripts;
Code: Select all
$this->document->breadcrumbs = array();
$this->document->breadcrumbs[] = array(
'href' => HTTPS_SERVER . 'index.php?route=common/home',
'text' => $this->language->get('text_home'),
'separator' => FALSE
);
$this->document->breadcrumbs[] = array(
'href' => HTTPS_SERVER . 'index.php?route=extension/module',
'text' => $this->language->get('text_module'),
'separator' => ' :: '
);
$this->document->breadcrumbs[] = array(
'href' => HTTPS_SERVER . 'index.php?route=module/bestseller',
'text' => $this->language->get('heading_title'),
'separator' => ' :: '
);
I'll add the css and js file in the header.tpl for now, but would like to do it clean.