Sweet! Exactly the idea I was looking for. Thanks, Dave _____
From: Sam Sherlock [mailto:[email protected]] Sent: October-09-09 12:13 AM To: [email protected] Subject: Re: Layout Help You can see Hannibal Lecter's answer to the question on stackoverflow http://stackoverflow.com/questions/1024518/cakephp-block-region <http://stackoverflow.com/questions/1024518/cakephp-block-region> hth - S 2009/10/8 Dave Maharaj :: WidePixels.com <[email protected]> I have 2 layouts crated one with a left side menu other with a right. In the layout i have the standard <?php echo $content_for_layout; ?> </div> which loads the view. But how can i determine what to put on the sides? The side menu modeuls can be elements, but how do I call them so i can say on say index user login module sponsors element, and onview page use something else? Thanks, 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 -~----------~----~----~----~------~----~------~--~---
