You can use an Element for your side column. If you use the method of Scheneimi, you can set the value in beforeRender from app_controller.
On Nov 6, 7:23 pm, schneimi <[EMAIL PROTECTED]> wrote: > Hi, > > I think you have to create the two columns in the view that builds the > $content_for_layout and echo the $content_for_layout into the body. So > you have to set the vars for the columns in the action of the view. > > Greets, > Michael > > On 6 Nov., 17:45, jimmyxx <[EMAIL PROTECTED]> wrote: > > > Hey, > > I'm new to cakephp and need some advise on how to structure my application. > > I have a two column layout, in the main column i echo $content_for_layout. > > This all works fine but now I want to start working on the other column > > which i'll use for a menu, a skyscraper banner, and little modules like > > 'whos online'. It would be ideal if in the layout.thtml I could echo > > $content_for_side_column and then manage that column through cakephp. I've > > into /cake/libs/view.php and I thought hacking something in there is not a > > good solution and there must be a better way of doing it. Any suggestions > > how I should this in a well structured way? > > > cheers > > -- > > View this message in > > context:http://www.nabble.com/General-site-sturcture-tf4759413.html#a13610742 > > Sent from the CakePHP mailing list archive at Nabble.com. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
