Who can i do the HTML header like <body> will show by himself.



class SiteController extends CController {

	public function actionIndex() {

		print "hello";






<title>website title</title>






I hope you understand what I mean.

Your question is not clear to me can you explain it more?

i think you need to render a layout file

$this->layout = 'examplelayout';


and create a file views/layouts/examplelayout.php:



<body><?php echo $content; ?></body>


that what i need.

thanks :)