kdbdallas ha scritto:
> OK, I am hoping this is my last question, but no promises. :-) > > How do I tell a view in my controller to use a different layout. > In my layouts DIR I have default.thtml and secondary.thtml. > What do I put in the controller file to specifiy which layout to use? > you can store choice in a session: function BeforeFilter() { $this->layout = $_SESSION['layout']; } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---