Recommend this page to a friend! |
![]() ![]() |
Info | ![]() |
![]() |
![]() ![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-06-27 (Yesterday) ![]() | Not yet rated by the users | Total: 4 This week: 4 | All time: 11,364 This week: 11![]() |
Version | License | PHP version | Categories | |||
yii2-staticpages-mod 1.0 | BSD License | 5 | HTML, Libraries, Content management |
Description | Authors Gabriel A. López López Contributor | |
This package can generate static pages for a Yii2 Web application. |
Module to manage static pages in a Yii2 application
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist daxslab/yii2-staticpages-module "*"
or add
"daxslab/yii2-staticpages-module": "*"
to the require section of your composer.json
file.
./yii migrate --migration-path="@daxslab/staticpages/migrations"
In the backend configure the Page module by the following:
'modules' => [
//...
'staticpages' => [
'class' => daxslab\staticpages\Module::class,
'controllerNamespace' => 'daxslab\staticpages\controllers\backend',
// you can setup any InputWidget subclass as text editor
'editorConfig' => [
'class' => yii2mod\markdown\MarkdownEditor\MarkdownEditor::class,
];
],
//...
]
And in frontend:
'modules' => [
//...
'staticpages' => [
'class' => daxslab\staticpages\Module::class,
'controllerNamespace' => 'daxslab\staticpages\controllers\frontend',
// you can specify a different view path for better matching your style
'viewPath' => '@frontend/views/',
],
//...
]
Proudly made by Daxslab.
![]() |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Data | Auxiliary data | ||
![]() ![]() |
Lic. | License text | ||
![]() |
Class | Class source | ||
![]() ![]() |
Doc. | Documentation |
![]() |
/ | messages |
File | Role | Description | ||
---|---|---|---|---|
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() |
||||
![]() ![]() |
Aux. | Configuration script |
![]() |
/ | models |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
Class | Class source |
![]() |
/ | views | / | backend | / | page |
File | Role | Description |
---|---|---|
![]() ![]() |
Example | Example script |
![]() ![]() |
Example | Example script |
![]() ![]() |
Example | Example script |
![]() ![]() |
Example | Example script |
![]() ![]() |
Example | Example script |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.