lispa / amos-discussioni
Sistema AMOS per le discussioni
Installs: 237
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.4.0
- cornernote/yii2-workflow-manager: *
- open20/amos-admin: ^2.0
- open20/amos-attachments: ^1.1.11
- open20/amos-comments: ^1.0
- open20/amos-core: ^1.27.0
- open20/amos-dashboard: ^1.8
- open20/amos-notify: ^1.4
- open20/amos-report: ^1.0.5
- open20/amos-workflow: ^1.0
- raoul2000/yii2-workflow: *
- raoul2000/yii2-workflow-view: *
- yiidoc/yii2-redactor: *
Requires (Dev)
This package is auto-updated.
Last update: 2024-10-23 14:06:06 UTC
README
Extension for create discussions.
Installation
1. Add module to your application
The preferred way to install this extension is through composer.
Either run
composer require open20/amos-discussioni
or add this row
"open20/amos-discussioni": "*"
to the require section of your composer.json
file.
2. Add module configuration
Add module to your main config in backend like this:
<?php 'modules' => [ 'discussioni' => [ 'class' => 'open20\amos\discussioni\AmosDiscussioni' ], ],
3. Apply migrations
To apply migrations you can launch this command:
php yii migrate/up --migrationPath=@vendor/open20/amos-discussioni/src/migrations
or add this row to your migrations config in console:
<?php return [ '@vendor/open20/amos-discussioni/src/migrations', ];
4. Configure the required plugin amos-comments
After the configuration of amos-discussioni plugin you must configure amos-comments. To see how to configure that plugin go to http://git.open20.it/amos/amos-comments/blob/master/README.md, then add this configuration to modelsEnabled in amos-comments configuration:
<?php 'modules' => [ 'comments' => [ 'class' => 'open20\amos\comments\AmosComments', 'modelsEnabled' => [ 'open20\amos\discussioni\models\DiscussioniTopic' ] ], ],