Hi all,
I'm having a problem I can't quite seem to figure out. I'm trying to
use the Javascript helper in app/views/layouts/default.ctp but keep
getting an error:
Undefined variable: javascript [APP\views\layouts\default.ctp, line
14]
Fatal error: Call to a member function link() on a non-object in C:
\path\to\app\views\layouts\default.ctp on line 14
I tried adding the following to app/app_controller.php
class AppController extends Controller {
var $helpers = array('Html', 'Javascript', 'Form');
}
But it doesn't pick up the Javascript helper.
Could someone help me out with this?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---