How To Display Multiple View In One Page?

For multi-view displays a page where I use? Component? Module? Portlet? Or …

You can try call multiple yii::app()->controller->renderPartial(/PATH/TO/VIEW) in view file;

Or like this :

In controller:


// set  the 3rd param to true so that certain view will be returned rather than  be rendered

$view1 = $this->renderPartial("xxx",array(),true);  

$view2 = $this->renderPartial("xxx",array(),true);      

$this->render("xxx",array(

                   'view1'=>$view1,

                   'view2'=>$view2

));




)

in view:

echo $view1;

echo $view2;