You can add an app_controller.php file to your app directory and add
the helpers there.
Brett Wilton
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this
Is it correct to put the Javascript helper in page_controllers.php?
It seems that's the only way to get the helper loaded and available to
home.ctp and default.ctp layout.
On Nov 7, 10:24 am, Bernardo Vieira <[EMAIL PROTECTED]> wrote:
> Do you have the Javascript helper on whatever controller yo
Do you have the Javascript helper on whatever controller you're using?
Ed Drain wrote:
> I get the following error:
> Line 31 is the one with the javascript->link part.
>
> Whats wrong with this?
>
> *Notice* (8) : Undefined variable: javascript
> [*CORE\cake\libs\view\layouts\default.ctp*, line
I get the following error:
Line 31 is the one with the javascript->link part.
Whats wrong with this?
*Notice* (8) : Undefined variable: javascript
[*CORE\cake\libs\view\layouts\default.ctp*, line *31*]
Code | Context
$___viewFn =
"C:\wamp\www\gradebook\cake\libs\view\layouts\defau