Recommend this page to a friend! |
![]() |
Info | Documentation | ![]() |
![]() |
![]() |
Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2024-06-27 (9 months ago) ![]() | Not enough user ratings | Total: 9 | All time: 11,504 This week: 51![]() |
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 |
![]() |
/ | migrations |
File | Role | Description |
---|---|---|
![]() |
Class | Class source |
![]() |
/ | 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 |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
![]() |
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.