Js files are in webroot/js
Calling using the new: echo $this->Html->script(array('jquery.1.4.2'));
When viewing source correct script tag entered: <script type="text/javascript" src="/js/jquery.1.4.2.js"></script>
Cheers
Jules
On 26 May 2010 04:22, nurvzy <nurvzy@gmail.com> wrote:
Hi Jules,
Where are you storing your js files and how are you calling them?
Nick
On May 25, 1:49 pm, Jules <julian.pick...@googlemail.com> wrote:
> Installed CakePHP 1.3, all working fine css file being found but as
> soon as I try to add a js file I get a missing JsController error. I
> can't find any reason for this, mod_rewrite seems to be working or the
> css wouldn't be found.
>
> If anyone knows how to fix please help this error is driving me mad.
>
> Thanks
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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment