Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/skeeks-cms/cms-view

View for SkeekS CMS
https://github.com/skeeks-cms/cms-view

cms skeeks-cms yii yii2 yii2-cms

Last synced: 11 days ago
JSON representation

View for SkeekS CMS

Awesome Lists containing this project

README

        

View for SkeekS CMS
===================================

Installation
------------

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist skeeks/cms-view "*"
```

or add

```
"skeeks/cms-view": "*"
```

Configuration app
----------

```php

'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!](https://skeeks.com/img/logo/logo-no-title-80px.png)](https://skeeks.com)
SkeekS CMS (Yii2) — quickly, easily and effectively!
[skeeks.com](https://skeeks.com) | [cms.skeeks.com](https://cms.skeeks.com)