If you're using 1.2
In your views:
$javascript->link('script', false);
$html->css('style', null, null, false);

Then in your layout head:
echo $scripts_for_layout;

-Matt
www.pseudocoder.com



On Feb 4, 3:37 pm, bob <[EMAIL PROTECTED]> wrote:
> i have a javascript .js file that i want to add to just one of my views,
> (not in the default layout). how do i do this? thanks
--~--~---------~--~----~------------~-------~--~----~
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