Thanks, francky061.
Sorry, that's a mistake in my message. I did use $javascript->('.js')
to load .js files, but it doesn't work. And I checked the generated
html page source, there is .js file included in the header, but when I
call the js functions, 'not difined' errors appear. What is more
strange, when I save the page from browser, all the .js files were
also downloaded in the page folder. But still doesn't work.On Jul 2, 12:24 am, francky06l <[EMAIL PROTECTED]> wrote: > In the views, the way you would call the helper should $javascript- > > >() NOT $this->javascript > > Hope this help > > On Jul 1, 12:17 pm, minglee <[EMAIL PROTECTED]> wrote: > > > I am new to phpCake. My phpCake routing is set to 'development'. And I > > put all .js files into ./cake/app/webroot/js/, and set helper, called > > '$this->javascript', ect.., did everything as told in the manual, but > > it does not work. I've tried my other none-cake applications on the > > same server, they all work well with their js files. So, SOS. Thanks a > > lot! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
