i think, that you method viewActive is never executed directly by server,
you have to use underscored names, so view_active would be correct
public function view_ctive() {
$this-set('title_for_layout', 'View Active Users');
$this-layout = 'default_small_ad';
}
try now
Hi,
The 2.0 docs for changing layouts say this, which doesn't work:
public function viewActive() {
$this-set('title_for_layout', 'View Active Users');
$this-layout = 'default_small_ad';
}
That didn't work. This did:
function beforeRender() {