I am sofa king we todd ed. I declared the the JsHelper in the controller, but the controller is not called for the home page. When I created an AppController and declared the JsHelper in it, the home works fine. Thanks for you patience. Pilot error.
On Nov 21, 9:26 pm, rogwei <[email protected]> wrote: > That is the only controller in the app. > > On Nov 21, 8:08 pm, huoxito <[email protected]> wrote: > > > > > > > > > check if you're not overwriting the helper in any other controller, > > it's weird, never had this kind of problem. > > > On 22 nov, 01:18, rogwei <[email protected]> wrote: > > > > Yes, I did. > > > > On Nov 21, 6:58 pm, huoxito <[email protected]> wrote: > > > > > Hey rogwel did you declare this line > > > > > var $helpers = array('Js' => 'Jquery'); > > > > > in your app_controller? > > > > > On 21 nov, 23:16, rogwei <[email protected]> wrote: > > > > > > Declare the helper in the controller: > > > > > var $helpers = array('Js' => 'Jquery'); Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
