Создал новую страницу, которая по факту является копией страницы home:
В файле ".../controller/test/test.php" прописал:
<?php
class ControllerNewTest extends Controller {
public function index() {
$this->document->setTitle($this->config->get('config_title'));
$this->document->setDescription($this->config->get('config_meta_description'));
$this->data['heading_title'] = $this->config->get('config_title');
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/test/test.tpl')) {
$this->template = $this->config->get('config_template') . '/template/test/test.tpl';
$this->data['template'] = $this->config->get('config_template');
} else {
$this->template = 'default/template/test/test.tpl';
}
$this->children = array(
'common/column_left',
'common/column_right',
'common/content_top',
'common/content_bottom',
'common/footer',
'common/header'
);
$this->response->setOutput($this->render());
}
}
?>
В файле ".../template/test/test.tpl" прописал:
<?php echo $header; ?>
<?php echo $column_left; ?>
<?php echo $column_right; ?>
<div id="content">
<?php echo $content_top; ?>
<?php echo $content_bottom; ?>
</div>
<?php echo $footer; ?>
Но при переходе по пути "site.ru/index.php?route=test/test" выходит ошибка:
"Fatal error: Class 'Controllertesttest' not found in /home/site/site.ru/docs/vqmod/vqcache/vq2-system_engine_front.php on line 39"
В чем может быть проблема? Немного погуглил, решения не нашел, но пишут что удаление vqmod ничего не меняет, т.е. дело не в нем..