On Wed, Oct 15, 2008 at 9:41 AM, nomex <[EMAIL PROTECTED]> wrote: > > hey, > > i want to make a startpage with completly different layout from the > other pages. i found some > infos to change the layout with $this->layout = 'xyz_layout'; but i > don't know how to implement this function in the home controller! > > thx for your help! >
You can do as ORCC said OR if you have a home controller and you don't want to do the change of layout in the template, you can do it in the action: function index() { $this->layout = 'xyz_layout'; } If your home page uses the pages controller, you'll probably want to do as ORCC said. - Gonzalo --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---