That should do it. Maybe there's something else going on?
Try putting pr($this->helpers); into your view. It should list
Javascript if Cake is loading the helper.
D
On Jan 24, 12:45 pm, "lukemack" <[EMAIL PROTECTED]> wrote:
> i tried adding var $helpers = array('Html', 'Javascript', 'Ajax');
>
> to all controllers - does it need to be somewhere else too?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---