Hi all,
on cakephp 2(.0.1) I would set $scripts_for_layout in view from a custom helper, my code is like

public function  beforeRender($viewFile) {
  $this->_View->set('scripts_for_layout', $this->output);
}

this is explained on the book 2.0 migration (book.cakephp.org/2.0/en/appendices/2-0-migration-guide.html#callback-positioning-changes) but is not working (scripts_for_layout is always empty).
I'm missing something?

Thank you,
Luca

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