Re: Newbie question: how do i load the javascript helper ?

2007-12-02 Thread Eemerge
Thanks for the tip, i was actually modifying app_controller from cake/ dir :) On Dec 1, 2:14 am, Dardo Sordi Bogado [EMAIL PROTECTED] wrote: Don't touch cake/ dir, copy the app_controller.php into app/, then the that one takes precedence, so tweak as needed. 2007/11/30, Eemerge [EMAIL

Re: Newbie question: how do i load the javascript helper ?

2007-11-30 Thread Eemerge
Thanks for the answer, one more thing though, should i use it in every controller or just the main app controller? Christopher E. Franklin, Sr. : i will check again, though i checked several times.maybe it slipped :) On Nov 30, 7:02 pm, ldb [EMAIL PROTECTED] wrote: G'day Hopefully I'm not

Re: Newbie question: how do i load the javascript helper ?

2007-11-30 Thread Eemerge
Ok i added that line in cake/app_controller.php and so far so good. Thanks for the help :) On Nov 30, 11:41 pm, Christopher E. Franklin, Sr. [EMAIL PROTECTED] wrote: My bad, it's at the very end of helpers section which makes no sense to me since it should be at the very top. It is also in

Re: Newbie question: how do i load the javascript helper ?

2007-11-30 Thread Christopher E. Franklin, Sr.
My bad, it's at the very end of helpers section which makes no sense to me since it should be at the very top. It is also in the controllers section: --- $helpers Use this variable to have your controller load helpers into its views. The HTML helper is automatically loaded, but

Re: Newbie question: how do i load the javascript helper ?

2007-11-30 Thread ldb
G'day Hopefully I'm not misunderstanding. In your controller, make sure you have it defined. var $helpers = array('Html', 'Form','Javascript', 'Ajax' ); is the full line I have for context. That will work for just Javascript. If you use any helpers that are not built in, just make sure you put

Re: Newbie question: how do i load the javascript helper ?

2007-11-30 Thread Christopher E. Franklin, Sr.
It is in the helpers section of the manual ;) On Nov 30, 8:31 am, Eemerge [EMAIL PROTECTED] wrote: Sorry to ask such a newbie question, but i didnt find anything about it in the manual. Maybe i missed it, but anyway: how do i load the javascript helper?

Newbie question: how do i load the javascript helper ?

2007-11-30 Thread Eemerge
Sorry to ask such a newbie question, but i didnt find anything about it in the manual. Maybe i missed it, but anyway: how do i load the javascript helper? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP