A few of php files in YUM already using path from UserModule.php setting,
but I still see some of the import statement still stand of its own path route,
for example in
YumUserControler.php
lin 3: Yii::import('application.modules.user.controllers.YumController');
this will make the module need to be adjust if moved to somewhere outside application default module folder, for example in common folder of Yii Boilerplate.
so it has to be:
Yii::import('YumModule.controllers.YumController');
YumModule allready declared as path alias to YUM modul root folder in UserModule.php
A few of php files in YUM already using path from UserModule.php setting, but I still see some of the import statement still stand of its own path route,
for example in YumUserControler.php lin 3: Yii::import('application.modules.user.controllers.YumController');
this will make the module need to be adjust if moved to somewhere outside application default module folder, for example in common folder of Yii Boilerplate.
so it has to be: Yii::import('YumModule.controllers.YumController');
YumModule allready declared as path alias to YUM modul root folder in UserModule.php