Yii Framework Forum: [Need Help] Boilerplate And User Management Module - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Need Help] Boilerplate And User Management Module Rate Topic: -----

#1 User is offline   maylee 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 20-June 13

Posted 20 June 2013 - 08:52 PM

Can anyone please help and advice how to install yii user management module into yii boilerplate?

I try download yum and place in common/modules folder, and edit backend/config/main.php as below:

return CMap::mergeArray(
array(
'name' => 'Clevertech Backend Boilerplate',
// @see http://www.yiiframew...basePath-detail
'basePath' => 'backend',
// set parameters
'params' => $params,
// preload components required before running applications
// @see http://www.yiiframew...#preload-detail
'preload' => array('bootstrap', 'log'),
// @see http://www.yiiframew...language-detail
'language' => 'en',
// using bootstrap theme ? not needed with extension
// 'theme' => 'bootstrap',
// setup import paths aliases
// @see http://www.yiiframew...e#import-detail
'import' => array(
'common.components.*',
'common.extensions.*',
/* uncomment if required */
/* 'common.extensions.behaviors.*', */
/* 'common.extensions.validators.*', */
'common.models.*',
'common.modules.*',

// uncomment if behaviors are required
// you can also import a specific one
/* 'common.extensions.behaviors.*', */
// uncomment if validators on common folder are required
/* 'common.extensions.validators.*', */
'application.components.*',
'application.controllers.*',
'application.models.*',
'application.modules.user.models.*'
),
/* uncomment and set if required */
// @see http://www.yiiframew...tModules-detail
'modules' => array(
'user'=>array(
'debug'=>true,
)
/*'gii' => array(
'class' => 'system.gii.GiiModule',
'password' => 'clevertech',
'generatorPaths' => array(
'bootstrap.gii'
)
)*/
),
'components' => array(
'user' => array(
'class' => 'application.modules.user.components.YumWebUser',
'allowAutoLogin'=>true,
'loginUrl'=> array('//user/user/login')
),
/* load bootstrap components */
'bootstrap' => array(
'class' => 'common.extensions.bootstrap.components.Bootstrap',
'responsiveCss' => true,
),
'errorHandler' => array(
// @see http://www.yiiframew...orAction-detail
'errorAction'=>'site/error'
),
// 'db'=> array(
// 'connectionString' => $params['db.connectionString'],
// 'username' => $params['db.username'],
// 'password' => $params['db.password'],
// 'schemaCachingDuration' => YII_DEBUG ? 0 : 86400000, // 1000 days
// 'enableParamLogging' => YII_DEBUG,
// 'charset' => 'utf8'
// ),
'urlManager' => array(
'urlFormat' => 'path',
'showScriptName' => false,
'urlSuffix' => '/',
'rules' => $params['url.rules']
),
/* make sure you have your cache set correctly before uncommenting */
/* 'cache' => $params['cache.core'], */
/* 'contentCache' => $params['cache.content'] */
),
),
CMap::mergeArray($mainEnvConfiguration, $mainLocalConfiguration)
);


I got below error
Alias "application.modules.user.components.YumWebUser" is invalid. Make sure it points to an existing PHP file and the file is readable.
0

#2 User is offline   Abd Al-Rahman 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 19-March 13
  • Location:Amman

Posted 24 June 2013 - 09:20 AM

Maylee has anyone helped you in this issue?
0

#3 User is offline   maylee 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 20-June 13

Posted 24 June 2013 - 10:04 AM

View PostAbd Al-Rahman, on 24 June 2013 - 09:20 AM, said:

Maylee has anyone helped you in this issue?


Hi Rahman,

So far no solution feedback from the forum, can you please help and advice? Thanks in advance.
0

#4 User is offline   leo4all 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 30
  • Joined: 01-April 13
  • Location:Alajuela, Costa Rica

Posted 23 July 2013 - 01:26 PM

Check https://github.com/n...i-structure4big

there are some configs that can help you.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users