How Does To Config Layout Folder

Hi,

created module but layout folder didn’t generate ,so i tried to create layout folder manually but layout folder didn’t apply to module.next i tried following steps

  1. Copy the ‘layouts’ folder into your module’s layouts folder

  2. Remove from your module’s views/default/index.php :

<?php

$this->breadcrumbs=array(

    &#036;this-&gt;module-&gt;id,

);

?>

  1. In AdminModule.php (or whatever your module’s name) init() method:

$this->layoutPath = Yii::getPathOfAlias(‘admin.views.layouts’);

$this->layout = ‘main’;

  1. Extend your module’s DefaultController from CController instead of Controller (as mentioned by Mr. Luke ).

  2. Finally, customize your layouts by modifying the files in your module’s ‘layouts’ folder.

but once again i failed to achieve goal , plz some one can help me.

[color="#006400"]/* Moved from "Tips, Snippets and Tutorials" to "General Discussion for Yii 1.1.x" */[/color]

Hi,please see it…

http://www.yiiframework.com/forum/index.php/topic/45930-theme-specific-controller-possible/page__p__216278__fromsearch__1#entry216278

i hope it’s may help…