Custom page layouts for different modules/views
That can be done very easily. First in module you have to set what pagelayout you want.
...
Then you have to cereate pagelayout named login.php in tpl/login.php that's all. View can easily control what main pagelayout to use.
$Result['content'] = $tpl->fetch();
$Result['pagelayout'] = 'login';
From 1.1 version you can set pagelayout in view.
...
If you set pagelayout in view script file. It will take higher preorder.
$ViewList['new'] = array(
'script' => 'new.php',
'params' => array(),
'functions' => array( 'createuser' ),
'pagelayout' => 'admin'
);




