lispa / amos-organizzazioni
Sistema AMOS per le Organizzazioni
Installs: 221
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:plugin
Requires
- php: >=5.6.0
- open20/amos-admin: ^2.9.0
- open20/amos-attachments: ^1.1.10
- open20/amos-community: ^1.5.30
- open20/amos-comuni: ^1.2.15
- open20/amos-core: ^1.27.0
- open20/amos-cwh: ^2.1.17
- open20/amos-dashboard: ^1.9.0
- open20/amos-invitations: ^1.5.0
- open20/amos-tag: *
Requires (Dev)
- dev-master
- 1.15.1
- 1.15.0
- 1.14.1
- 1.14.0
- 1.12.0
- 1.11.2
- 1.11.1
- 1.11.0
- 1.10.1
- 1.10.0
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.2
- 1.8.1
- 1.8.0
- 1.7.0
- 1.6.4
- 1.6.3
- dev-releases/1.15.1
- dev-releases/1.15.0
- dev-releases/1.14.1
- dev-releases/1.14.0
- dev-releases/1.12.0
- dev-releases/1.11.2
- dev-releases/1.11.1
- dev-releases/1.11.0
- dev-releases/1.10.1
- dev-releases/1.10.0
- dev-releases/1.9.2
- dev-releases/1.9.1
- dev-releases/1.9.0
- dev-releases/1.8.2
- dev-releases/1.8.1
- dev-releases/1.8.0
This package is auto-updated.
Last update: 2024-10-23 14:38:12 UTC
README
Plugin to make organizations.
Installation
1. The preferred way to install this extension is through composer.
Either run
composer require open20/amos-organizzazioni
or add this row
"open20/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' => 'open20\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' => 'open20\amos\organizzazioni\Module', 'enableCommunityCreation' => true ], ],
3. Apply migrations
php yii migrate/up --migrationPath=@vendor/open20/amos-organizzazioni/src/migrations
or add this row to your migrations config in console:
<?php return [ '@vendor/open20/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'][] = 'open20\amos\organizzazioni\models\Profilo'; $modules['tag']['modelsEnabled'][] = 'open20\amos\organizzazioni\models\ProfiloSedi'; } ... }
Then go in the tag manager and configure the roles for the trees you want for this model.