have a look to Nate's articles about this, especially the 3rd
section :

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

On Jul 20, 7:55 pm, Joshua Benner <[EMAIL PROTECTED]> wrote:
> Put $javascript->link in the view instead of the [EMAIL PROTECTED]:Is there a 
> way to only include a javascript file in certain selected views. I have it as 
> being included in the default layout with <?php echo 
> $javascript->link('tooltip')."\n"; ?> but I it's causing errors on views I 
> don't need it on. I'm using cake 1.2.x if that makes a difference. Matt


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