infoweb-internet-solutions / yii2-cms-partials

CMS partials module for Yii 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CMS partials module for Yii 2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require infoweb-internet-solutions/yii2-cms-partials "*"

or add

"infoweb-internet-solutions/yii2-cms-partials": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply modify your backend configuration as follows:

'modules' => [
    ...
    'partials' => [
        'class' => 'infoweb\partials\Module',
    ],
],

Import the translations and use category 'infoweb/partials':

yii i18n/import @infoweb/partials/messages

To use the module, execute yii migration

yii migrate/up --migrationPath=@vendor/infoweb-internet-solutions/yii2-cms-partials/migrations

Configuration

All available configuration options are listed below with their default values.


allowContentDuplication (type: boolean, default: true)

If this option is set to true, the duplicateable jquery plugin is activated on all translateable attributes.


enableUrl (type: boolean, default: false)

If this option is set to true, the url field is enabled.

About

CMS partials module for Yii 2


Languages

Language:PHP 100.0%