Сделал так, не помогло, все равно на страницу не погрузился ни хедер ни футер ((
В чем может быть причина? Может кроме контроллера еще где-то нужно что-то добавить?
<?php
class ControllerTestPage extends Controller {
public function index() {
$this->document->setTitle($this->config->get('config_meta_title'));
$this->document->setDescription($this->config->get('config_meta_description'));
$this->document->setKeywords($this->config->get('config_meta_keyword'));
if (isset($this->request->get['route'])) {
$canonical = $this->url->link('test/page');
if ($this->config->get('config_seo_pro') && !$this->config->get('config_seopro_addslash')) {
$canonical = rtrim($canonical, '/');
}
$this->document->addLink($canonical, 'canonical');
}
$data['footer'] = $this->load->controller('common/footer');
$data['header'] = $this->load->controller('common/header');
$this->response->setOutput($this->load->view('test/page'));
}
}