ersaf/administrative-act

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

Ersaf Administrative Act

1.0.0 2020-03-06 15:16 UTC

README

Plugin to allow global search on several models. Global search can be extended, possibly, to any module. To enable global search for a model:

  • make the model search class implement the elitedivision\amos\core\interfaces\SearchModelInterface;
  • make the model implement the ModelLabelsInterface

Installation

  1. The preferred way to install this extension is through composer.

    Either run

    `bash composer require elitedivision/amos-search `

    or add

    "elitedivision/amos-search": "~1.0"

    to the require section of your composer.json file.

  2. Add module to your modules-amos config in backend:

    <?php
    $config = [
        'modules' => [
            'search' => [
                'class' => 'elitedivision\amos\search\AmosSearch'
            ],
        ],
    ];
    
  3. Enable the search bar add to backend/params-local

search navbar menu

'searchNavbar' => true