arter / amos-organizzazioni
There is no license information available for the latest version (1.8.0) of this package.
Sistema AMOS per le Organizzazioni
1.8.0
2024-04-05 16:10 UTC
Requires
- php: >=5.6.0
- arter/amos-admin: ^2.0.29
- arter/amos-attachments: ^1.1.10
- arter/amos-community: ^1.5.30
- arter/amos-comuni: ^1.2.15
- arter/amos-core: ^1.9.60
- arter/amos-cwh: ^2.1.17
- arter/amos-dashboard: ^1.8.16
- arter/amos-invitations: ^1.0.6
- arter/amos-tag: *
Requires (Dev)
This package is auto-updated.
Last update: 2025-03-07 11:34:40 UTC
README
Plugin to make organizations.
Installation
1. The preferred way to install this extension is through composer.
Either run
composer require arter/amos-organizzazioni
or add this row
"arter/amos-organizzazioni": "~1.6.3"
to the require section of your composer.json
file.
2. Add module to your main config in common:
<?php
'modules' => [
'organizzazioni' => [
'class' => 'arter\amos\organizzazioni\Module'
],
],
If do you want to enable community creation for every single organization set this
parameter to true in your modules-amos.php config file. If this is true organization
module manager is able to create a reserved community.
These reserved communities can be made/managed by legal representative and
operative referee.
'modules' => [
'organizzazioni' => [
'class' => 'arter\amos\organizzazioni\Module',
'enableCommunityCreation' => true
],
],
3. Apply migrations
php yii migrate/up --migrationPath=@vendor/arter/amos-organizzazioni/src/migrations
or add this row to your migrations config in console:
<?php
return [
'@vendor/arter/amos-organizzazioni/src/migrations',
];
4. Add configuration to tag module. In backend/config/modules-amos.php add configuration like this:
<?php
if (isset($modules['tag'])) {
...
if (isset($modules['organizzazioni'])) {
$modules['tag']['modelsEnabled'][] = 'arter\amos\organizzazioni\models\Profilo';
$modules['tag']['modelsEnabled'][] = 'arter\amos\organizzazioni\models\ProfiloSedi';
}
...
}
Then go in the tag manager and configure the roles for the trees you want for this model.