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

Favorites - plugin

1.3.2 2023-05-23 11:49 UTC


Extension for add a content, like news, events, etc..., in the favorites.


1. Add module to your application

The preferred way to install this extension is through composer.

Either run

composer require open20/amos-favorites

or add this row

"open20/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:

'modules' => [
    'favorites' => [
        'class' => 'open20\amos\favorites\AmosFavorites',
        'modelsEnabled' => [
             * Add here the classnames of the models where you want the comments
             * (i.e. 'open20\amos\news\models\News')

3. Apply migrations

To apply migrations you can launch this command:

php yii migrate/up --migrationPath=@vendor/open20/amos-favorites/src/migrations

or add this row to your migrations config in console:

return [