diff --git a/admin-dev/themes/default/template/controllers/categories/form.tpl b/admin-dev/themes/default/template/controllers/categories/form.tpl index cf0e9c045..90548c97a 100644 --- a/admin-dev/themes/default/template/controllers/categories/form.tpl +++ b/admin-dev/themes/default/template/controllers/categories/form.tpl @@ -34,7 +34,4 @@ {$input.customer}

{/if} - {if ($input.name == 'module')} - {hook h="displayAdminCategoriesForm"} - {/if} {/block} \ No newline at end of file diff --git a/admin-dev/themes/default/template/helpers/form/form.tpl b/admin-dev/themes/default/template/helpers/form/form.tpl index c4a091ed3..3dfab6b20 100644 --- a/admin-dev/themes/default/template/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/helpers/form/form.tpl @@ -339,6 +339,10 @@ {/if} {/foreach} + {if isset($name_controller)} + {capture name=hookName assign=hookName}display{$name_controller|ucfirst}Form{/capture} + {hook h=$hookName} + {/if} {elseif $key == 'submit'}
$guest_group_information, 'customer' => $default_group_information, 'desc' => $this->l('Mark all groups you want to give access to this category') - ), - array( - 'type' => 'module', - 'name' => 'module' ) ), 'submit' => array(