Search by

arter / amos-organizzazioni

art-er

There is no license information available for the latest version (1.8.0) of this package.

Sistema AMOS per le Organizzazioni

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Package info

repo.aster.it/elitedivision/amos-organizzazioni

Homepage

Type:plugin

pkg:composer/arter/amos-organizzazioni

Statistics

Installs: 602

Dependents: 0

Suggesters: 0

1.8.0 2024-04-05 16:10 UTC

This package is auto-updated.

Last update: 2026-10-19 10:32:16 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.