Okay, any files you put in /app/views/layouts can be used as layouts in
your controller.  So let's say you have default.thtml and new.thtml
(note the extension), and they're stored in the layouts/ folder.  In
your controller, you can put:

$this->layout = 'new';

to switch which layout is used to render the page.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to