The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist skeeks/cms-view "*"
or add
"skeeks/cms-view": "*"
'components' =>
[
'view' =>
[
'class' => 'skeeks\cms\view\ViewComponent',
/*'themes' =>
[
'one' =>
[
'class' => 'skeeks\cms\view\ThemeComponent',
'name' => 'Default',
'pathMap' =>
[
'@app/views' =>
[
'@app/templates/one',
'@app/templates/default',
],
]
],
'two' => []
//...
]*/
],
'viewSettings' =>
[
'class' => 'skeeks\cms\view\ViewComponentSettings',
/*'theme' => 'one'*/
],
'i18n' => [
'translations' =>
[
'skeeks/view' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@skeeks/cms/view/messages',
'fileMap' => [
'skeeks/view' => 'main.php',
],
]
]
],
]
SkeekS CMS (Yii2) — quickly, easily and effectively!
skeeks.com | cms.skeeks.com