Dear all,
I want to create new main layout and I work for this but it can not show the content in the main layout.
I have new components/UserControler:
<?php
class UserController extends CController
{
	public $layout='//layouts/usercolumn'; 
	
	public $menu=array();
	
	public $breadcrumbs=array();
}
new layouts/usercomlumn :
<?php /* @var $this Controller */ ?>
<?php $this->beginContent('//layouts/usermain'); ?>
<div id="content">
	<?php echo $content; ?>
</div><!-- content -->
<?php $this->endContent(); ?>
new layouts/usermain:
<body>
	<div id="header">
	logo
	</div>
	<div id="mainmenu">
		<?php $this->widget('zii.widgets.CMenu',array(
			'items'=>array(
				array('label'=>'Home', 'url'=>array('/site/index')),
				array('label'=>'About Us', 'url'=>array('/categories/index')),
				array('label'=>'Galary', 'url'=>array('/services/index')),
				array('label'=>'Contact', 'url'=>array('/admin/index')),				
			),
		)); ?>
	</div>
	
	<?php if(isset($this->breadcrumbs)):?>
		<?php $this->widget('zii.widgets.CBreadcrumbs', array(
			'links'=>$this->breadcrumbs,
		)); ?><!-- breadcrumbs -->
	<?php endif?>
	<?php echo $content; ?>
</body>
controllers/HomeController :
<?php
class HomeController extends UserController
{	
	public $defaultAction = 'home';
	
	public function actionHome()
	{
		$this->layout = 'home';
		$this->render('home');
	}
}
it can not show the menu in usermian page, it just shows the content in home page.
thankyou very much