// Fix modules ID on <body> for module controller page
This commit is contained in:
1 parent
cc1cc5ca21
commit
c4506a2916
1 file changed
+2
@@ -52,6 +52,8 @@ class ModuleControllerCore extends FrontController
|
||||
$action = Tools::getValue('action');
|
||||
$method = 'action'.$action;
|
||||
|
||||
$this->context->smarty->assign('page_name', 'module-'.$name.'-'.$action);
|
||||
|
||||
if ($action && method_exists($module, $method))
|
||||
$this->setTemplate($module->$method());
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user