Почему изменение контроллера home.php не влияет на страницу?

Здравствуйте! Имеем незамысловатый контроллер /catalog/controller/common/home.php
class ControllerCommonHome 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'])) {
			$this->document->addLink(HTTP_SERVER, 'canonical');
		}

		$this->load->model('catalog/information');
		$data['main_text'] = $this->model_catalog_information->getInformation(11);
		$data['column_left'] = $this->load->controller('common/column_left');
		$data['column_right'] = $this->load->controller('common/column_right');
		$data['content_top'] = $this->load->controller('common/content_top');
		$data['content_bottom'] = $this->load->controller('common/content_bottom');
		$data['footer'] = $this->load->controller('common/footer');
		$data['header'] = $this->load->controller('common/header');


		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/home.tpl')) {
			$this->response->setOutput($this->load->view($this->config->get('config_template') . '/template/common/home.tpl', $data));
		} else {
			$this->response->setOutput($this->load->view('default/template/common/home.tpl', $data));
		}
	}
}


Я могу полностью отчистить его - и внешний вид главной страницы останется неизменным.
Но вот если я его удалю - то внешний вид изменится немного, исчезнут несколько блоков.

Правки в шаблоне
/catalog/view/theme/default/template/common/home.tpl
- затрагивают страницу.

/system/storage/cache - чистил, не помогает
  • Вопрос задан
  • 103 просмотра
Пригласить эксперта
Ответы на вопрос 1
lazuren
@lazuren
Вот эту system/storage/modification папку попробуйте очистить (кроме файла index.html) после этого обновите модификаторы.
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы