If you're using 1.2, then take a look here:

http://cake.insertdesignhere.com/posts/view/17

The HeadHelper functionality is implemented in the core.

~GreyCells

On Feb 20, 8:07 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I want to include javascript file in layout.It is possible? if it is,
> how to include javascript file.
>
> If i include like this
>
> app/views/layouts/index.thtml
>
> <head>
> <title>Untitled-1</title>
> <meta http-equiv="Content-Type" content="text/html;
> charset=iso-8859-1">
> </head>
>
> <script src='../js/shal.js' language='javascript'></script>
>
> it is not working.


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