elitedivision/amos-favorites
Favorites - plugin
1.3.2
2023-05-16 12:14 UTC
Requires
- php:>=5.4.0
- elitedivision/amos-core:~1.9
- elitedivision/amos-admin:>=1.8
- elitedivision/amos-notify:*
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.1
- 1.0.0
- dev-test/1.3.3/1
- dev-test/1.4.0/1
- dev-fabiano/1.3.4/1
- dev-gianluca/1.3.3/1
- dev-elena/1.3.4/1
- dev-test/1.3.4/1
- dev-test/1.3.3/3
- dev-test/1.3.3/2
- dev-dof/1.3.3/1
- dev-cesari/1.3.2/1
- dev-test/1.3.2/1
- dev-test/1.3.1/1
- dev-test/1.3.0/1
- dev-PROVA_MERGE
- dev-test/1.2.1/1
- dev-cesari/1.2.0/1
- dev-grafica-redattore
- dev-test/1.2.0/1
- dev-scarface_ebike_master
- dev-test/1.1.0/1
- dev-marco/1.0.1/1
- dev-test/1.0/1
- dev-la_francesca_1.0/1
- dev-pivanti
README
Extension for add a content, like news, events, etc..., in the favorites.
Installation
1. Add module to your application
The preferred way to install this extension is through composer.
Either run
composer require elitedivision/amos-favorites
or add this row
"elitedivision/amos-favorites": "dev-master"
to the require section of your composer.json
file.
2. Add module configuration
Add module to your main config in backend like this:
<?php
'modules' => [
'favorites' => [
'class' => 'elitedivision\amos\favorites\AmosFavorites',
'modelsEnabled' => [
/**
* Add here the classnames of the models where you want the comments
* (i.e. 'elitedivision\amos\news\models\News')
*/
]
],
],
3. Apply migrations
To apply migrations you can launch this command:
php yii migrate/up --migrationPath=@vendor/elitedivision/amos-favorites/src/migrations
or add this row to your migrations config in console:
<?php
return [
'@vendor/elitedivision/amos-favorites/src/migrations',
];