In your view any blocks of script that you want to be echoed into the
layout for that page you add to $scripts_for_layout by calling:

$this->Javascript->codeBlock("
// enter your raw jscript here
", array('inline'=>false, 'safe'=>false));

On Sep 20, 7:08 am, nkoss <[email protected]> wrote:
> Thanks, Vinicius, but I looked at that function and I'm afraid I have
> no idea how to use it.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to