Download the PHP package mrstroz/yii2-wavecms-news without Composer
On this page you can find all versions of the php package mrstroz/yii2-wavecms-news. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-wavecms-news
yii2-wavecms-news
News module for Yii 2 WaveCMS.
Please do all install steps first from Yii 2 WaveCMS.
Installation
The preferred way to install this extension is through composer.
Run
or add
to the require section of your composer.json
file.
Required
- Update
backend/config/main.php
(Yii2 advanced template)
Form views can be overwritten by backend themes;
-
Update
frontend/config/main.php
(Yii2 advanced template) - Run migration
Add the migrationPath
in console/config/main.php
and run yii migrate
:
Or run migrates directly
Overriding classes
Classes can be overridden by:
-
classMap
attribute for WaveCMS module - Yii2 Dependency Injection configuration in
backend/config/main.php
Overriding controllers
Use controllerMap
attribute for WaveCMS module to override controllers
Overriding views
Use themes for override views
Usage in frontend
News
-
Add new rules to your urlManager. You can do it in one of your
Bootstrap
classes -
Get list of news on overview page
-
Display news in view 'index.php'
- Get requested news by link in
detail
action
Meta tags
Add news to sitemap
According to Sitemap module, we need to add behaviour to our AR model and then add model to sitemap module configuration (see frontend/config/main.php)
Used packages
- CKEditor https://github.com/MihailDev/yii2-ckeditor
- ElFinder https://github.com/MihailDev/yii2-elfinder
- Slugify https://github.com/powerkernel/yii2-slugify
- Select2 https://github.com/kartik-v/yii2-widget-select2
- Datepicker https://github.com/kartik-v/yii2-widget-datepicker
- Switch widget https://github.com/2amigos/yii2-switch-widget
- Sitemap - https://github.com/himiklab/yii2-sitemap-module
INWAVE - Internet Software House
inwave.eu
All versions of yii2-wavecms-news with dependencies
yiisoft/yii2 Version ~2.0.6
powerkernel/yii2-slugify Version *
kartik-v/yii2-widget-datepicker Version @dev
2amigos/yii2-switch-widget Version ~1.0
himiklab/yii2-sitemap-module Version *
mrstroz/yii2-wavecms Version *
mrstroz/yii2-wavecms-metatags Version ~0.2.0