I am new to cake as well, but this is what I did to create a new layout called profile.
<?php class ProfileController extends AppController { var $name = 'Profile'; var $layout = 'profile'; var $uses = array(); function index() { $this->pageTitle = 'User Profile'; } } Now I put my page design in profile.thtml in the layout folder and just make a forward to to /profile/index. That just worked. jmw-2 wrote: > > > I have a very simple site and am new to cake, but not MVC frameworks. > I currently use the default Pages controller to render the pages in > the site, very few of them need their own customer controller / > logic. I do however need some of them to switch to a different > layout. I have defined a default layout, and am trying to find a way > to specify that a page should be rendered with another layout, via a > routes call, or some other call at the top of the template page, or a > request parameter. > > > > > > -- View this message in context: http://www.nabble.com/layout-control-with-default-pages-controller.-tf4749421.html#a13612477 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 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 -~----------~----~----~----~------~----~------~--~---