ich habe soeben ein Module Admin erstellt und wollte ein neues Layout definieren, dass sich von meiner Seite unterscheidet.
Dafür habe ich unter /protected/modules/admin/views/layout/ die Datei main.php und diese der init() Methode zugeweisen. Leider wird weiterhin mein Standard-Layout der Seite geladen?!?!
class AdminModule extends CWebModule
{
public function init()
{
// this method is called when the module is being created
// you may place code here to customize the module or the application
// import the module-level models and components
$this->setImport(array(
'admin.models.*',
'admin.components.*',
));
$this->layout = 'main';
}