2012/6/7 gorgoro wicks <[email protected]>
> 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
>
> <?php echo $this->element('header'); ?>
> <body>
> <div id="container_wrapper">
> <div id="container_header">
> <div id="site_title"><h1><a href="#"></a></h1></div>
> <div id="container_menu">
>
> <?php echo $this->element('_menu'); ?>
>
> </div> <!--_menu -->
>
> </div> <!-- end of header -->
> <div id="container_middle">
>
>
> </div> <!--- end of middle --->
> <div id="container_main">
>
> HERE
> <div class="cleaner"></div>
> </div> <!-- end of main -->
>
>
> <?php echo $this->element('footer'); ?>
> </div> <!-- end of wrapper -->
> </html>
>
> 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