user
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
DOWNLOAD ------------- http://www.yiiframework.com/extension/yii-user/ DOCUMENTATION ------------- Extract the release file under protected Insert to config/main.php return array( ... // autoloading model and component classes 'import'=>array( 'application.models.*', 'application.components.*', 'application.modules.user.models.*', 'application.modules.user.components.*', ), ... 'modules'=>array( 'user', ), ... // application components 'components'=>array( ... 'user'=>array( // enable cookie-based authentication 'allowAutoLogin'=>true, 'loginUrl' => array('/user/login'), ), ... ), ... ); Create tables (dump files schema.mysql.sql and schema.sqlite.sql) Insert items into zii.widgets.CMenu array (protected/views/layouts/main.php) TROUBLESHOOTING --------------- The table "{{users}}" for active record class "RegistrationForm" cannot be found in the database. Insert to config/main.php 'db'=>array( 'tablePrefix' => 'tbl_' ),