Geoff, Yes, am I aware of this, and this is what I have done, not only have I included the javascript helpers in my controllers, I also included them into my AppController so my layout would have access to the javascript helper when calling $this->javascript('file') in the header of my default layout. Strange.
On Jul 1, 7:51 pm, Geoff Ford <[EMAIL PROTECTED]> wrote: > All javascript files need to be placed in app/webroot/js and you need > to include the javascript helper. > > http://manual.cakephp.org/chapter/helpersabout 3/4 down is the > javascript helper documentation > > Geoff > --http://lemoncake.wordpress.com > > On Jul 2, 10:28 am, Jim Newfer <[EMAIL PROTECTED]> wrote: > > > I have been using jquery for about a month now, and I love it to say > > that least. Although, I cannot seem to figure out the best way to > > incorporate it into my cakephp project, or even to incorporate it at > > all! > > > When I used jquery before, I just loaded the jquery.js library in the > > header, and then wrote the javascript in the header in between the > > <script></script> tags. > > > So I have tried to duplicate this in more ways than one, and none of > > them have worked. I have tried in my default layout, using > > $javascript->link('jquery', false) in the header of my default layout > > trying to > > > get it to work, and then placing $scripts_for_layout in content area > > of the default layout. I have tried including both in the view file, > > and combinations of all of these. > > > Could someone just please explain how and where the files need to go > > when using jquery with cakephp ? Thank you. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---