yii2mod / base

Yii2 application template
MIT License
53 stars 15 forks source link

CMS Module Setup #47

Closed juppwerner closed 6 years ago

juppwerner commented 6 years ago

In order to make the CMS admin pages work, it is required to have these changes in config/main.php:

'modules' => [ 'cms' => [ 'class' => 'yii2mod\cms\Module', ], 'admin' => [ 'class' => 'app\modules\admin\Module', 'controllerMap' => [ 'cms' => 'yii2mod\cms\controllers\ManageController', // Instead of CmsController !

Regards Joachim

ihorchepurnyi commented 6 years ago

Please see my response in this issue