Download the PHP package lispa/amos-report without Composer
On this page you can find all versions of the php package lispa/amos-report. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lispa/amos-report
More information about lispa/amos-report
Files in lispa/amos-report
Package amos-report
Short Description Sistema AMOS per le segnalazioni
License
Homepage http://www.open20.it/
Informations about the package amos-report
Amos Report
Extension for report sending on contents like news, discussions, etc...
Installation
- The preferred way to install this extension is through composer.
Either run
or add this row
to the require section of your composer.json
file.
-
Add module to your main config in backend:
-
To send report notification not only to the content creator but also to the content validator, installation of amos-workflow is needed too
a. Add workflow to composer
b. check in config/main for 'workflow' in modules array, if present
change the entry in:
c. add workflow entry (config/main in modules array):
d. add 'workflow' entry to your bootstrap:
-
Apply migrations
a. amos-report migrations
or add this row to your migrations config in console:
b. if workflow module is installed (see step 3), also add amos-workflow migrations:
or add this row to your migrations config in console:
Widgets
Amos Report provides two Widgets:
-
ReportWidget open20\amos\report\widgets\ReportWidget
Draw a flag icon related to a model. On flag click, the system opens form to insert a new report on a modal popup. - TabReportsWidget open20\amos\report\widgets\TabReportsWidget
Draw the Report tab in a model view/form, containing the list of reports a specif content.
If a model has been enabled for reports, the tab is automatically injected in update phase (form) by AmosCore widget 'Tabs'.
Email Sending
After the creation of a new report on a content a mail is sent to:
- Content creator
- Content validator (if exixts)
- Users having the REPORT_MONITOR role for that content type (if role exists)
The role name must follow the general permission naming convention_REPORT_MONITOR as for eg. create and update permissions (MODELNAME_CREATE, MODELNAME_UPDATE).
All versions of amos-report with dependencies
2amigos/yii2-ckeditor-widget Version ~1.0
cornernote/yii2-workflow-manager Version *
open20/amos-admin Version ~2.0
open20/amos-core Version ^1.9.50
open20/amos-notify Version ~1.4
raoul2000/yii2-workflow Version *
raoul2000/yii2-workflow-view Version *
yiidoc/yii2-redactor Version *