1.5 Release
Changelog
- Enh 622a9d1 : added new properties to CmsController, rename cms search class.
Now you can override views files, cms model class and cms search class in following way:
'modules' => [
'admin' => [
'controllerMap' => [
'cms' => [
'class' => 'yii2mod\cms\controllers\CmsController',
'searchClass' => [
'class' => 'yii2mod\cms\models\search\CmsSearch',
'pageSize' => 25
],
'modelClass' => 'Your own cms model class',
'indexView' => 'custom path to index view file',
'createView' => 'custom path to create view file',
'updateView' => 'custom path to update view file',
],
],
],
],