I need to change the $form->create behaviour, so I created a helper to use instead of the native formHelper:
SlugHelper:
App::import('Helper', 'Form');
class SlugFormHelper extends FormHelper {
public function create() {
return "error";
}
}
In AppController:
public $helpers = array('SlugForm' => 'Form');
And in the View:
$form->create();
but it still calls the native $form->create();
Just a thought - but shouldn't you define helpers in the controller by doing something like this:
Rather than what you had with "SlugForm => Form". Hope that helps!