Thakns  for your answer that is what i meant byt i dont have the default
layout with $this->layout='custom'  i can pass the static page content on
my view but i dont have the default layout.

example

the page is default has css menu  and i want when i press about us to have
the same default view with the samw css menu  but different content.So that
i dont have to write again inside the  about page  all the  css menu...and
so on .


2012/6/7 stork <[email protected]>

> I'm not sure I understand your question.
> If you want to set custom layout for some static page(s), then in
> this/these page(s) just
> $this->layout = 'custom';
> You can change layout in controller's action AND in view as well.
>
>  --
> 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
>

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