做个网站管理后台,layout如何实现

我想做个网站后台系统, 主页面分三个区域,上边的标题区,左边是treeview,右边是内容区。要求是点treeview的节点,内容显示相应的功能和视图。左边的treeview不变。只是右边内容区在改变刷新。就象frameset一样。我发现yii blog layout是整个页面在刷新。如何设置和修改layout?

请看这篇帖子,后面还附带了qiang写的cookbook的链接

http://www.yiiframew…pic,1529.0.html

如果想要tree保持状态,需要使用cookie来支撑。

有没有具体的例子呀, protected/view/layouts/main.php 该如何写.  我在view加了:

$this->layout("column1"); ,不起作用呀. 

我的main.php

<div id="page">

  <div id="header">

    header's  information

  </div> 

  <!–end the header—>

               

    <div id="MySplitter">

      <div id="LeftPane">

               

                  this for treeview menu 

               

      </div>

      <!–end left panel -->

               

               

       

    <div id="RightPane"> 

    <div id="content">

     

               

    <?php echo $content; ?>

         

           

       

    </div>

    </div>

      <!-- End content–>

    </div> 

    <!-- End RightPane–>

    </div>

    <!–End MySplitter–>

           

           

    <div id="footer" align="center">

                Copyright &copy; 2009 by Metbee.com.<br/>

                All Rights Reserved.

                <?php echo Yii::powered(); echo Yii::getVersion(); ?>

  </div><!-- footer -->

  </div>

  <!–end the page–>

当我使用tab panel的时候,tab 的每个link用 <?php echo CHtml::link('New attrubue',array('attrubue/create')); ?>]

<?php echo CHtml::link('edit attrubue',array('attrubue/edit')); ?>]

tab的区域把整个包括header, footer,left treeview 都在视图区。我只想让<div id='content'>在视图区。 layout如何写呢。

没有$this->layout('column1')这种用法啊。应该是$this->layout='column1';