Of course you can. $content_for_layout is nothing but a regular view variable, like the ones you set in your controller with $this->set().
On Apr 15, 10:43 pm, "Dave Maharaj :: WidePixels.com" <[email protected]> wrote: > Can you take 1 template (default.ctp) and define sections within it? > > I have a 2 col layout and would like to define what modules to load > depending on the page a user is on / if logged in / by group > > How can this be done if all i have is <?php echo $content_for_layout; ?> > > Thinking of Joomla where you can set what modules for each page is the idea. > Is that possible? > > Dave --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
