yes, use elements.... http://book.cakephp.org/view/1081/Elements
--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2011/3/23 SasMaster <[email protected]>

> Hi All. I am new to CakePHP. Trying to make my way through the basics
> now.In the Blog tutorial I have learned that the layouts wrap views.So
> in the tutorial the example layout shows this line $content_for_layout
> which loads a specific view.My question is if I wish to put several
> views inside a single layout,for example a classic web page with a
> view for the header ,view for the body ,view for the sidebar etc...
> How do I assign all those different views to various parts of a single
> layout?
>
> Thanks in advance for help!
>
> --
> 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