I use : 
http://bakery.cakephp.org/articles/view/some-ideas-to-organize-your-css-files-and-autoload-them-in-cakephp

added a comment at the bottom which includes using this technique for
JS - works fine for me so far...

On Jul 2, 9:48 am, Grant Cox <[EMAIL PROTECTED]> wrote:
> http://cakebaker.42dh.com/2007/02/21/referencing-javascript-files/
>
> $scripts_for_layout is where any javascript includes you define in
> your view, using the Javascript helper and a false "inline" parameter.
>
> On Jul 2, 3:10 pm, Jim Newfer <[EMAIL PROTECTED]> wrote:
>
> > Alright, I got it to work, when I removed the line of code from my
> > default layout, $scripts_for_layout.
>
> > Can someone please tell me what $scripts_for_layout is used for? 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 [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