2017 © Pedro Peláez
 

yii2-extension yii2-page-cms-module

Yii2 module for static pages creating.

image

bariew/yii2-page-cms-module

Yii2 module for static pages creating.

  • Monday, June 13, 2016
  • by bariew
  • Repository
  • 3 Watchers
  • 4 Stars
  • 327 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 11 Versions
  • 0 % Grown

The README.md

Yii2 page module.

Description

Module for site "static" pages management. Has admin area for creating pages with WYSIWYG HTML editor and SEO fields. Has subpages feature (they will be available via subpaths like page1/page2/page3). Has JS tree for subpages tree management. Has page menu widget with a multiple dropdown feature., (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist bariew/yii2-page-cms-module "*"

or add, (*4)

"bariew/yii2-page-cms-module": "*"

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

Usage

  • Include 'page' module in the modules config section:
    'modules' => [
    ...
        'page'   => [
            'class' => 'bariew\pageModule\Module'
        ],
    ],
  • Add a new routing rule to your url manager in the components config section:
    'components' => [
    ...
        'urlManager' => [
            'rules' => [
                [
                    'class' => 'bariew\pageModule\components\UrlRule',
                    'pattern' => '<url:\\S*>',
                    'route' => 'page/default/view'
                ],
                '<controller>/<action>' => '<controller>/<action>',
                '<module>/<controller>/<action>' => '<module>/<controller>/<action>',
            ],
        ],
    ],
  • Apply migrations from the module migrations folder with a console command:
./yii migrate --migrationPath=@vendor/bariew/yii2-page-cms-module/migrations
  • Go to page/item/index URL and create some pages. Home page is generated as the root by default.

The Versions

13/06 2016

dev-master

9999999-dev

Yii2 module for static pages creating.

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

yii2 module page yii2-null-cms-module

13/06 2016

2.0.4

2.0.4.0

Yii2 module for static pages creating.

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

yii2 module page yii2-null-cms-module

08/05 2016

2.0.3

2.0.3.0

Yii2 module for static pages creating.

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

yii2 module page yii2-null-cms-module

08/05 2016

2.0.2

2.0.2.0

Yii2 module for static pages creating.

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

yii2 module page yii2-null-cms-module

08/05 2016

2.0.1

2.0.1.0

Yii2 module for static pages creating.

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

yii2 module page yii2-null-cms-module

08/05 2016

2.0.0

2.0.0.0

Yii2 module for static pages creating.

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

yii2 module page yii2-null-cms-module

07/05 2016

1.2.1

1.2.1.0

Yii2 module for static pages creating.

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

yii2 module page yii2-null-cms-module

26/06 2014

1.2.0

1.2.0.0

in development

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

yii2 module page

10/06 2014

1.1.1

1.1.1.0

in development

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

yii2 module page

30/05 2014

1.1.0

1.1.0.0

in development

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

yii2 module page

29/05 2014

1.0.0

1.0.0.0

in development

  Sources   Download

BSD-3-Clause

The Requires

 

by Bariev Pavel

yii2 module page