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?

All I can guess is pages_controller:

function index (){
$this->layout = 'default_index';
}
         
function about() {
$this->layout = 'default_internal';
}

And just skip the display function.  link directly to the action controller
= > pages , action => index
Am I wrong?

Thanks,

K

-- 
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
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to