Re: Whats up with prototype and Cake 1.2?

2008-11-09 Thread Brett Wilton
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

Re: Whats up with prototype and Cake 1.2?

2008-11-07 Thread rgreenphotodesign
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

Re: Whats up with prototype and Cake 1.2?

2008-11-07 Thread Bernardo Vieira
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

Whats up with prototype and Cake 1.2?

2008-11-07 Thread Ed Drain
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