The problem of Yii is that doesn't have an administration area. This can be solved with this extension! It is super easy to use and configure.
This extension is not a frontend + backend application. It is ONLY backend. It is a module that you can include in any existing Yii application that doesn't have any backend. You can leave it as is or adapt it to your needs.
Demo ¶
Click here for the demo User: admin / Password: 123456
Download ¶
https://github.com/ho96/yii-admin
Features ¶
- Change password
- Edit messages of the protected/messages folder with TinyMCE editor.
- Integration with Multilevel horizontal menu.
- Integration with Extplorer (using an iframe).
- Integration with PHPMyAdmin (using an iframe).
- Integration with PHP Lite Admin (using an iframe).
- PHP info.
- Multilanguage.
- Fully responsive.
- Powered by a SQLite database.
Requirements ¶
Yii 1.1.14 or above
Usage ¶
Starting ¶
Download the files from github and copy them in protected/modules/admin. Then you need to add the following in protected/config/main.php
'modules'=>array(
'admin'=>array(), // ADD THIS
),
'components'=>array(
'urlManager'=>array(
'urlFormat'=>'path',
'showScriptName'=>false,
'rules'=>array(
'admin'=>'admin/site/login', // ADD THIS
'admin/<lang:\w+>'=>'admin/site/login', // ADD THIS
)
)
)
protected/modules/admin/data must be writable.
..............................
Messages ¶
In order for this extension to work, messages in protected/messages must be single quoted!!!
GOOD:
<?php
return array(
'message1' => 'Blah Blah Blah',
'message2' => 'Home',
?>
BAD:
<?php
return array(
"message1" => "Blah Blah Blah",
"message2" => "Home",
?>
Don't use escaped single quotes in messages:
GOOD:
<?php
return array(
'message1' => 'That's all',
?>
BAD:
<?php
return array(
"message1" => 'That\'s all',
?>
protected/messages must be writable.
..............................
PHP Lite Admin ¶
With PHP Lite Admin you will be able to manage sqlite databases, like the very sqlite database that uses this module.
To log in: Password: 123456
Note: If you update the password in the Profile section, PHP Lite Admin password will be changed automatically too. Therefore, protected/modules/admin/assets/lib/phpliteadmin must be writable.
..............................
Extplorer ¶
To log in Extplorer: admin / admin
..............................
PHPMyAdmin ¶
PHPMyAdmin is about 30 MB of size. If you feel that you won't use it, you can just delete the folder.
Donations ¶
Donations are welcome. Thanks for your support!!!
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.