How can i make 3 static pages use the same $content_for_layout and  1
static to use not  when i have place that on my default view ?

example
<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">
               CAN I DO IT LIKE THAT  not working
                <?php if ($content_for_layout!=$this->Html-
>link('Contact'))
                {
                     echo $this->element('sidebar');
                    echo $content_for_layout;
                }else{

                }
                    ; ?>
                <div class="cleaner"></div>
            </div> <!-- end of main -->
            <?php echo $this->element('footer'); ?>

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