elitedivision/amos-partnership-profiles
Partnership profiles - plugin
Requires
- php:>=5.4.0
- elitedivision/amos-admin:^2.0
- elitedivision/amos-attachments:^1.1.11
- elitedivision/amos-comuni:^1.2.8
- elitedivision/amos-community:^1.5.19
- elitedivision/amos-dashboard:^1.8.4
- elitedivision/amos-core:^1.15.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-test/1.4.0/1
- dev-fabiano/audit-poi
- dev-la_francesca/1.3.0
- dev-test/1.3.0/1
- dev-la_francesca/1.2.0_1
- dev-test/1.2.0/2
- dev-gianluca/1.2.0/2
- dev-daniele/1.0.18/1
- dev-test/1.0.18/2
- dev-riccardo/1.2.0/1
- dev-riccardo/1.1.2/1
- dev-test/1.2.0/1
- dev-fabiot_1.0.17
- dev-test/1.0.18/1
- dev-test/1.1.2/1
- dev-michelezucchini/1.1.2/1
- dev-la_francesca/befe
- dev-scarface_befe_la_francesca_befe
- dev-scarface_webmeeting_1.1.1
- dev-scarface_webmeting_1.1.1
- dev-dof-befe/1.1.0
- dev-test/1.0.17/1
- dev-test/befe
- dev-la_francesca/1.2.0
- dev-test/1.0.16
- dev-fabiot_aster
- dev-melanieg/1.0.15
- dev-test/1.1.1
- dev-test/1.0.15
- dev-riccardo-befe/1.1.0
- dev-test/1.1.0
- dev-test/1.0.14
- dev-la_francesca/1.0.15
- dev-aster_1.0.14
- dev-fabiot
- dev-scarface
- dev-lisa_1.0.14_MEV_ASTER
- dev-test/bullet-count
- dev-la_francesca/1.0.14
- dev-lisa_1.0.4
- dev-fabiot_fix
- dev-riccardo/1.0.14/1
- dev-test/1.0.12/1
- dev-test/1.0.11/2
- dev-aster
- dev-test/1.0.10/1
- dev-scarface_aster/1.0.10/1
- dev-test/1.0.11/1
- dev-ASTER_PR-4
- dev-POI
- dev-POI_community_fullsize
- dev-piattaforma_elite
- dev-community_fullsize
- dev-test/1.0.8/2
- dev-MicheleA
- dev-AE99
- dev-nuova_dashboard
- dev-POI_TEST/1.0.8/1
- dev-melanie
- dev-dev-nuovo_widget_grafico
- dev-nuova_dashboard-2
- dev-simonem/1.0.8/1
- dev-test/1.0.8/1
- dev-la_francesca/1.0.8/1
- dev-riccardo/1.0.7/1
- dev-la_francesca/1.0.7/1
- dev-test/1.0.7/1
- dev-la_francesca/modal_dashboard
- dev-riccardo-fix
- dev-DEPLOY_POI_20180921
- dev-test/1.0.6/1
- dev-DEPLOY_POI_20180702
- dev-cinzia
- dev-riccardo/1.0.5/1
- dev-test/1.0.5/1
- dev-riccardo/1.0.4/1
- dev-smart/search
- dev-g.baraldi/search
- dev-enrica/1.0.4
- dev-test/1.0.4/1
- dev-la_francesca/1.0.3/1
- dev-riccardo/1.0.3/1
- dev-test/1.0.3/1
- dev-la_francesca/1.0.2/1
- dev-riccardo/1.0/8
- dev-test/1.0/8
- dev-test/1.0/7
- dev-test/1.0/6
- dev-michelez_1.0.7
- dev-la_francesca_1.0/6
- dev-test/1.0/5
- dev-test/1.0/4
- dev-la_francesca_1.0/3
- dev-test/1.0/3
- dev-test/1.0/2
- dev-test/1.0/1
README
Plugin to make partnership profiles.
Installation
1. The preferred way to install this extension is through composer.
Either run
composer require elitedivision/amos-partnership-profiles
or add this row
"elitedivision/amos-partnership-profiles": "~1.0"
to the require section of your composer.json
file.
2. Add module to your main config in backend:
<?php
'modules' => [
'partnershipprofiles' => [
'class' => 'elitedivision\amos\partnershipprofiles\Module'
],
],
3. Apply migrations
php yii migrate/up --migrationPath=@vendor/elitedivision/amos-partnership-profiles/src/migrations
or add this row to your migrations config in console:
<?php
return [
'@vendor/elitedivision/amos-partnership-profiles/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['partnershipprofiles'])) {
$modules['tag']['modelsEnabled'][] = 'elitedivision\amos\partnershipprofiles\models\PartnershipProfiles';
$modules['tag']['modelsEnabled'][] = 'elitedivision\amos\partnershipprofiles\models\ExpressionsOfInterest';
}
...
}
Then go in the tag manager and configure the roles for the trees you want for this model.
5. Add model of partnership profiles to the report module:
<?php
'modules' => [
'report' => [
'class' => 'elitedivision\amos\report\AmosReport',
'modelsEnabled' => [
'elitedivision\amos\partnershipprofiles\models\PartnershipProfiles',
]
],
],
6. Configure the cwh for the partnership profile model:
Go to the cwh configuration and set the field of the status and the default status. The cwh configuration is at this url: /cwh/configuration/wizard
7. Action to archive the proposal
php yii /partnershipprofiles/partnership-profiles-console/archive-partnership-profiles
Configurable fields
Here the list of configurable fields, properties of module AmosPartnershipProfiles. If some property default is not suitable for your project, you can configure it in module-amos, eg:
'fieldsConfigurations' => [
'required' => [
'extended_description',
'expected_contribution',
'partnership_profile_date',
'expiration_in_months',
],
'tabs' => [
'tab-more-information' => false,
'tab-attachments' => true
],
'fields' => [
//tab general
'title' => true,
'short_description' => false,
'extended_description' => true,
'advantages_innovative_aspects' => false,
'expected_contribution' => true,
'partnership_profile_date' => true,
'expiration_in_months' => false,
'attrPartnershipProfilesTypesMm' => false,
'other_prospect_desired_collab' => false,
'contact_person' => true,
],
]
If you want to modify this fields only for a specific community , you can add it on module-amos:
'fieldsCommunityConfigurations' => [
'communityId-5' => [
'required' => [
'extended_description',
'expected_contribution',
'partnership_profile_date',
'expiration_in_months',
],
'tabs' => [
'tab-more-information' => false,
'tab-attachments' => true
],
'fields' => [
//tab general
'title' => true,
'short_description' => false,
'extended_description' => true,
'advantages_innovative_aspects' => false,
'expected_contribution' => true,
'partnership_profile_date' => true,
'expiration_in_months' => false,
'attrPartnershipProfilesTypesMm' => false,
'other_prospect_desired_collab' => false,
'contact_person' => true,
],
]
],