Uwie,

I'd take a copy of cake/libs/controller/pages_controller.php and paste
in into app/controllers/

Add the following into app/controllers/pages_controller.php:

var $layout = 'your_custom_layout';

Create 'your_custom_layout.thtml' in app/views/layouts/ and hopefully
Bob's your uncle :-)

HTH,
Andrew

neospirit wrote:
> Hi all.
>
> I need to set the layout for a static page in my "views/pages" to another
> layout already in my "views/layouts" so it's not going to use the
> default.thtml one. I've searched the group and found none, and I believe
> I've missed the part about "views/pages" in manual if there's any.
>
> So, is it possible to do something about this? Helps really appriciated.
> 
> Uwie


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

Reply via email to