1
2
3
4
5
6
7
<?php
//put this method in your controller (or edit your beforeRender() if you already have one)
function beforeRender() {
	parent::beforeRender();
	$this->set('title_for_layout','page title here');
}
?>