On 26 feb, 22:58, "Krissy Masters" <naked.cake.ba...@gmail.com> wrote:
> Maybe because I never used it in my journey with Cake so far, but the pages
> controller.
>
> I understand the basic idea of rendering static pages display => some_page
> but how can you define different layouts for each rendered static page?

$this->layout = 'x';

in your view files. you don't need to change the pages controller at
all for that.

AD

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to