// Fix theme retrocompatibility (contact-form + displayHeader)
This commit is contained in:
@@ -247,6 +247,8 @@ class DispatcherCore
|
||||
$controllers['authentication'] = $controllers['auth'];
|
||||
if (isset($controllers['compare']))
|
||||
$controllers['productscomparison'] = $controllers['compare'];
|
||||
if (isset($controllers['contact']))
|
||||
$controllers['contactform'] = $controllers['contact'];
|
||||
|
||||
if (!isset($controllers[$this->controller]))
|
||||
$this->controller = 'pagenotfound';
|
||||
|
||||
@@ -435,6 +435,8 @@ class FrontControllerCore extends Controller
|
||||
$this->context->smarty->assign(array(
|
||||
'HOOK_HEADER' => $hook_header,
|
||||
'HOOK_TOP' => Hook::exec('displayTop'),
|
||||
'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''),
|
||||
'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''),
|
||||
));
|
||||
|
||||
$this->display_header = $display;
|
||||
|
||||
Reference in New Issue
Block a user