I'm talking to correct this sentence (from
http://book.cakephp.org/view/1086/set):
In your view file you can do
$this->set('activeMenuButton', 'posts');
*Then in your layout the $activeMenuButton variable will be available and
contain the value 'posts'.*
because it should say that the var will be available through
$this->viewVars, not as a local variable. That's why I'm confused, I never
really thought if it was possible or not.
--
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