How to create seperate controller and view for admin module


1)I have created created module for admin and created the module for the admin.

  1. And created model for admin.

  2. While creating the CRUD for the admin module, the files are stored in the root controller instead of

    inside the modules/admin/controller and modules/admin/views

  3. Please refer the attached screen shot

Please any on help me in this regard soon.

Thank you.

the controller id , you should give a module id

for example : admin/demo



[color="#006400"]/* moved to general Yii 1.1 help forum */[/color]


Thanks yiqing95.

It is working fine.Thanks for your time.