$javascript->link('scriptaculous'); or <link type="text/javascript"
src="<?php echo $this->webroot ?>js/scriptaculous.js" />

I don't know what exactly the error you got was but, this is how I
link my js files.

On Apr 10, 2:20 am, "joshi" <[EMAIL PROTECTED]> wrote:
> hello there,
>
> I had copied the scriptaculous js in webroot/js/  and i had included
> the js file in webroot/cake/libs/view/templates/layouts/default.thtml.
> the problem is like its treating .js file as normal files and its
> giving javascript error as well as missing controler error. when i
> disable the RewriteRule in .htaccess then it will br fine the only
> thing is i have to give the full path. can any one help me with the
> right way of including js files...
>
> i have the same problem when i include rico aswell
>
> Many thanks in advance


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to