Another method is to use $this->addScript() in your view as long as
you have echo $scripts_for_layout; in your layout file.
http://wiltonsoftware.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" gr
excellent, thks a lot!
On Mar 5, 6:46 pm, brian wrote:
> As long as you have $scripts_for_layout in the head of your layout file:
>
> echo $javascript->link('some_file_without_extension', false);
>
> The second param tells Cake not to write the script tag in the body
> (even though you're echoin
As long as you have $scripts_for_layout in the head of your layout file:
echo $javascript->link('some_file_without_extension', false);
The second param tells Cake not to write the script tag in the body
(even though you're echoing), but instead pass it to
$scripts_for_layout (the view is rendere
How, I dont know how to include a js file or code for one specific
view. The only way I found to include js files is to do it in the
layout..
Thks for the help
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP