2017 © Pedro Peláez
 

yii2-extension yii2-cms

Easy manage cms pages and menu items

image

caritor/yii2-cms

Easy manage cms pages and menu items

  • Tuesday, June 14, 2016
  • by caritor
  • Repository
  • 1 Watchers
  • 0 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

yii2-cms

Latest Stable Version License Total Downloads Monthly Downloads Daily Downloads, (*1)

Yii2 cms module will help to add multiple pages, menu areas and menu items. This a kind of wordpress way of managing pages and menu items, i.e, once enough pages, menu items and menu areas has been built, using a drag and drop feature pages can be used to create a menu tree with multiple menu levels., (*2)

Installation

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

Either run, (*4)

php composer.phar require --prefer-dist caritor/yii2-cms "dev-master"

or add, (*5)

"cms/yii2-cms": "dev-master"

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

Apply migration

yii migrate --migrationPath=vendor/caritor/yii2-cms/migrations

Configuration:

'modules' => [
    'cms' => [
        'class' => 'caritor\cms\Module'
    ],
],

Widget To Pull Menu items:

use caritor\cms\widgets\CmsmenuWidget;
CmsmenuWidget::widget(['area_code' => '{{area_code}}']);

Url Routing:

Pages -, (*7)

    ?r=cms/pages

Menu Areas -, (*8)

    ?r=cms/menuarea

Menus -, (*9)

    ?r=cms/menu/selectarea

The Versions

14/06 2016

dev-master

9999999-dev https://github.com/caritor/yii2-cms/

Easy manage cms pages and menu items

  Sources   Download

MIT

The Requires

 

by Vinoth Pandiyan

yii2 cms menu menu-items drag-drop