2017 © Pedro Peláez
 

yii2-extension yii2-cms-partials

CMS partials module for Yii2

image

infoweb-internet-solutions/yii2-cms-partials

CMS partials module for Yii2

  • Monday, June 20, 2016
  • by infoweb-internet-solutions
  • Repository
  • 4 Watchers
  • 0 Stars
  • 754 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

CMS partials module for Yii 2

Installation

The preferred way to install this extension is through composer., (*1)

Either run, (*2)

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

or add, (*3)

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

to the require section of your composer.json file., (*4)

Usage

Once the extension is installed, simply modify your backend configuration as follows:, (*5)

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

Import the translations and use category 'infoweb/partials':, (*6)

yii i18n/import @infoweb/partials/messages

To use the module, execute yii migration, (*7)

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

Configuration

All available configuration options are listed below with their default values., (*8)


allowContentDuplication (type: boolean, default: true)

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


enableUrl (type: boolean, default: false)

If this option is set to true, the url field is enabled., (*10)

The Versions

29/09 2014

1.0.0

1.0.0.0

CMS partials module for Yii2

  Sources   Download

MIT

The Requires

 

yii2 cms infoweb yii2-cms-partials