Download the PHP package cinghie/yii2-articles without Composer
On this page you can find all versions of the php package cinghie/yii2-articles. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cinghie/yii2-articles
More information about cinghie/yii2-articles
Files in cinghie/yii2-articles
Package yii2-articles
Short Description Yii2 Articles to create, manage, and delete articles in a Yii2 site.
License BSD-3-Clause
Homepage https://github.com/cinghie/yii2-articles
Informations about the package yii2-articles
Yii2 Articles
Yii2 Articles to create, manage, and delete articles in a Yii2 site.
- Create, edit and delete articles
- Article with attachments, image, gallery, hits
- Manage categories and subcategories
- Advanced Access Permission
- Approval
- Multi-Language with I18N
- Extra Field Management
- SEO Optimization
Installation
The preferred way to install this extension is through composer.
Either run
or add
Configuration
1. Images folder
Copy img folder to your webroot
2. Update yii2 articles database schema
Make sure that you have properly configured db
application component.
Make sure that you have an user with id=1.
Run the following command:
3. Set configuration file
Set on your configuration file, in modules section
4. Other Configurations
To use easily this extension is strongly recommended install and config dektrium/yii2-user to manage user
and dektrium/yii2-rbac to manage auth permission
5. Add your User as admin
Override PREFIX_ with your tables prefix and YUOR_USER_ID with your user_id. For example:
Advanced Template Recommended Configuration
Advanced Template recommended configuration
URL Rules
Filters
If you have a Yii2 App Advanced (frontend/backend) you can exclude frontend actions
Overrides
Override controller example, on modules config
Override models example, on modules config
Override view example, on components config
Override examples can be found on overrides folder
Users Auth
Articles Permissions
create | publish | update | delete | index | view | |
---|---|---|---|---|---|---|
admin | yes | all | all | all | yes | yes |
editor | yes | all | all | his | yes | yes |
publisher | yes | his | his | no | his | yes |
author | yes | no | his | no | his | yes |
Categories Permissions
create | publish | update | delete | index | view | |
---|---|---|---|---|---|---|
admin | yes | yes | yes | yes | yes | yes |
editor | yes | no | yes | no | yes | yes |
publisher | no | no | no | no | yes | yes |
author | no | no | no | no | yes | yes |
Tags Permissions
create | publish | update | index | delete | |
---|---|---|---|---|---|
admin | yes | yes | yes | yes | yes |
editor | yes | yes | yes | yes | yes |
publisher | yes | yes | yes | yes | no |
author | yes | no | no | no | no |
Users Types
The migrations add to the database 4 types of users:
- Admin:
- Can Create Categories
- Can Publish Categories
- Can Delete Categories
- Can Update Categories
- Can Index Categories
- Can Create Articles
- Can Publish all Articles
- Can Update all Articles
- Can Delete all Articles
- Can Index all Articles
- Can View all Articles
- Can Create Tags
- Can Publish Tags
- Can Delete Tags
- Can Update Tags
- Can Index Tags
- Editor:
- Can Create Categories
- Can't Publish Categories
- Can't Delete Categories
- Can Update Categories
- Can Index Categories
- Can Create Articles
- Can Publish his Articles
- Can Update all Articles
- Can Delete his Articles
- Can Index Articles
- Can View all Articles
- Can Create Tags
- Can Publish Tags
- Can Delete Tags
- Can Update Tags
- Can Index Tags
- Publisher:
- Can't Create Categories
- Can't Publish Categories
- Can't Delete Categories
- Can't Update Categories
- Can Index Categories
- Can Create Articles
- Can Publish his Articles
- Can Update his Articles
- Can Delete his Articles
- Can Index his Articles
- Can View all Articles
- Can Create Tags
- Can Publish Tags
- Can Update Tags
- Can Index Tags
- Author:
- Can't Create Categories
- Can't Publish Categories
- Can't Delete Categories
- Can't Update Categories
- Can Index Categories
- Can Create Articles
- Can't Publish his Articles
- Can Update his Articles
- Can't Delete Articles
- Can't Index Articles
- Can View Articles
- Can Create Tags
LINKS
- Admin Panel: PathToApp/index.php?r=articles
- Admin Panel with Pretty Urls: PathToApp/articles
- Categories: PathToApp/index.php?r=articles/categories
- Categories with Pretty Urls: PathToApp/articles/categories
- Items: PathToApp/index.php?r=articles/items
- Items with Pretty Urls: PathToApp/articles/items
- Attachments: PathToApp/index.php?r=articles/attachments
- Attachments with Pretty Urls: PathToApp/articles/attachments
- Tags: PathToApp/index.php?r=articles/tags
- Tags with Pretty Urls: PathToApp/articles/tags
All versions of yii2-articles with dependencies
cinghie/yii2-seo-component Version @dev
cinghie/yii2-traits Version @dev