[share] my admin module theme

Here is a demo of admin module.

After downloading the attachment, please locate it in protected/modules, then you will see the structure as below:




| | |~modules/

| | | `~admin/

| | |   |~assets/

| | |   | |+css/

| | |   | |+images/

| | |   | `+js/

| | |   |~components/

| | |   |~controllers/

| | |   | |-DefaultController.php*

| | |   | `-SiteController.php*

| | |   |~messages/

| | |   |~models/

| | |   |~views/

| | |   | |+default/

| | |   | `~layouts/

| | |   |   `-main.php*

| | |   `-AdminModule.php*



That is just a demo of admin, of course you can modify it anyway you like! :)

Have fun with Yii!

Thanks a lot! Useful. :)

Hi,

It would be more useful and nice if you attach your theme screenshot :)

Anyway, thank you. This is exactly what I looking for nice admin theme layout :)

Does this theme have login form designed also?

UPD.

I extracted folder admin into my protected/modules folder.

I tried to get it to work. But I got next error:

Alias "admin.AdminModule" is invalid. Make sure it points to an existing PHP file.

Stack Trace

#0 /var/www/yii-1.1.4.r2429/framework/YiiBase.php(184): YiiBase::import(‘admin.AdminModu…’, true)

#1 /var/www/yii-1.1.4.r2429/framework/base/CModule.php(258): YiiBase::createComponent(‘admin.AdminModu…’, ‘admin’, NULL, Array)

#2 /var/www/yii-1.1.4.r2429/framework/web/CWebApplication.php(379): CModule->getModule(‘admin’)

#3 /var/www/yii-1.1.4.r2429/framework/web/CWebApplication.php(318): CWebApplication->createController(‘admin’)

#4 /var/www/yii-1.1.4.r2429/framework/web/CWebApplication.php(121): CWebApplication->runController(‘admin’)

#5 /var/www/yii-1.1.4.r2429/framework/base/CApplication.php(135): CWebApplication->processRequest()

#6 /var/www/dlocal/index.php(13): CApplication->run()

#7 {main}

Thanks

This is just like a template,right? 'Cause there are many view files missing.

Thanks for sharing though. :)