Hi !
i use a app_form.php file to replace some of default form template
each time i want to use it, i have to wrote :
$this->loadHelper('Form', [
'templates' => 'app_form',
]);
Is there a way to override by default ?
thanks
Hi !
i use a app_form.php file to replace some of default form template
each time i want to use it, i have to wrote :
$this->loadHelper('Form', [
'templates' => 'app_form',
]);
Is there a way to override by default ?
thanks
Make that call in a central place, like AppController::beforeRender
.
HI,
I set it into AppView::initialize
and it work fine
Thanks !