arter / amos-discussioni
There is no license information available for the latest version (1.5.1) of this package.
Sistema AMOS per le discussioni
1.5.1
2023-01-04 13:42 UTC
Requires
- php: >=5.4.0
- arter/amos-admin: ^2.2.0
- arter/amos-attachments: ^1.1.11
- arter/amos-comments: ^1.0
- arter/amos-core: ^1.9.60
- arter/amos-dashboard: ^1.8
- arter/amos-notify: ^1.4
- arter/amos-report: ^1.0.5
- arter/amos-workflow: ^1.0
- cornernote/yii2-workflow-manager: *
- raoul2000/yii2-workflow: *
- raoul2000/yii2-workflow-view: *
- yiidoc/yii2-redactor: *
Requires (Dev)
This package is auto-updated.
Last update: 2025-02-28 14:00:08 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 arter/amos-discussioni
or add this row
"arter/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' => 'arter\amos\discussioni\AmosDiscussioni'
],
],
3. Apply migrations
To apply migrations you can launch this command:
php yii migrate/up --migrationPath=@vendor/arter/amos-discussioni/src/migrations
or add this row to your migrations config in console:
<?php
return [
'@vendor/arter/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.arter.it/amos/amos-comments/blob/master/README.md, then add this configuration to modelsEnabled in amos-comments configuration:
<?php
'modules' => [
'comments' => [
'class' => 'arter\amos\comments\AmosComments',
'modelsEnabled' => [
'arter\amos\discussioni\models\DiscussioniTopic'
]
],
],