elitedivision/amos-invitations
System to invite persons to platform
Requires
- php:>=5.4.0
- elitedivision/amos-admin:^2.3.2
- elitedivision/amos-core:^1.23.0
- elitedivision/amos-dashboard:^1.9.0
- elitedivision/amos-notify:^1.4.24
- phpoffice/phpexcel:^1.8
Requires (Dev)
- yiisoft/yii2-faker:*
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- 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-simonem/1.5.4/fix-search-annulla-filter
- dev-gianluca/1.5.3/1
- dev-test/1.5.5/1
- dev-filippo/1.5.4/1
- dev-test/1.5.4/1
- dev-simonem/1.5.3/fix-php8
- dev-elisa/1.5.1/3
- dev-test/1.5.3/1
- dev-test/1.5.2/1
- dev-test/1.5.1/3
- dev-scarface_digiteca/test/1.5.0/4
- dev-test/1.5.1/2
- dev-test/1.5.1/1
- dev-la_francesca/1.5.0
- dev-test/1.5.0/4
- dev-test/1.5.0/3
- dev-test/1.5.0/2
- dev-la_francesca/1.4.2
- dev-test/1.5.0/1
- dev-gianluca/1.4.1/3
- dev-test/1.4.2/1
- dev-test/1.4.1/3
- dev-riccardo/1.4.1/2
- dev-gianluca/1.4.1/1
- dev-test/1.4.1/2
- dev-test/1.4.1/1
- dev-test/1.2.1/1
- dev-riccardo/1.4.1/1
- dev-gianluca/1.3.0/2
- dev-scarface_risorse_comuni_1.1.0
- dev-la_francesca/befe
- dev-test/1.4.0/1
- dev-test/1.3.1/1
- dev-test/1.3.0/2
- dev-elena/1.3.0/1
- dev-test/1.3.0/1
- dev-gianluca/1.3.0/1
- dev-fabiot_1.3.0
- dev-gianluca/befe
- dev-la_francesca/1.2.1
- dev-riccardo-befe/1.2.0
- dev-test/befe
- dev-test/1.2.0
- dev-lisa_1.3.0
- dev-fabiot
- dev-open20/1.0.8/1
- dev-lisa_1.1.0
- dev-test/1.1.0
- dev-scarface
- dev-care_for_workers_new
- dev-test/1.0.8
- dev-nicolabombonati
- dev-test/1.0.7/1
- dev-la_francesca/1.0.7/1
- dev-test/1.0.6/2
- dev-POI
- dev-umbria
- dev-care_for_workers
- dev-cruscotto_lavoro
- dev-la_francesca/1.0.6/1
- dev-test/1.0.6/1
- dev-la_francesca/1.0.4/1
- dev-test/1.0.4/1
- dev-riccardo/1.0.4/1
- dev-cinzia
- dev-DEPLOY_POI_20180702
- dev-DEPLOY_POI_180702
- dev-test/1.0.3/1
- dev-la_francesca/1.0.0/2
- dev-test/1.0.2/1
- dev-test/1.0.1/1
- dev-test/1.0.0/3
- dev-test/1.0.0/2
- dev-test/1.0.0/1
README
System to invite external people to platform
Installation
1. The preferred way to install this extension is through composer.
Either run
composer require elitedivision/amos-invitations
or add this row
"elitedivision/amos-invitations": "dev-master"
to the require section of your composer.json
file.
2. Add module to your main config in backend:
'modules' => [
'invitations' => [
'class' => 'elitedivision\amos\invitations\Module',
],
],
3. Apply migrations
php yii migrate/up --migrationPath=@vendor/elitedivision/amos-invitations/src/migrations
or add this row to your migrations config in console:
return [
'@vendor/elitedivision/amos-invitations/src/migrations',
];
Widgets
Invite user Widget
InviteUserWidget draws a button that open a modal cointaining the user invitation form. The widget can be used also in another model form, splitting the button and the modal form parts (to avoid form cointaining another form).
example in a view :
<?= InviteUserWidget::widget([]) ?>
example in a form:
<?php ActiveForm::begin() ?>
<?= InviteUserWidget::widget(['layout' => '{invitationBtn}' ]) ?>
<?php ActiveForm::end(); ?>
<?= InviteUserWidget::widget(['layout' => '{invitationModalForm}' ]) ?>
Module configuration params
subjectPlaceholder - string, default = '#subject-invite' String used for placeholder which translates mail subject.
subjectCategory - string, default = 'amosinvitations' String used for linking a translation category to the mail subject.