elitedivision/amos-search
There is no license information available for the latest version (1.0.9) of this package.
Amos Search
1.0.9
2021-11-15 17:28 UTC
Requires
- php:>=5.4.0
- elitedivision/amos-core:>=1.9.57
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 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-gianluca/1.0.7/1
- dev-test/1.0.9/1
- dev-test/1.0.7/1
- dev-nicola/1.0.7
- dev-scarface
- dev-la_francesca/1.0.7
- dev-fabiot
- dev-riccardo/1.0.6/1
- dev-vapt/1.0.4
- dev-POI
- dev-test/1.0.5/1
- dev-riccardo/1.0.5/1
- dev-fabiot_fix_search
- dev-test/1.0.4/1
- dev-test/1.0.3/1
- dev-giuseppe_1.0.3
- dev-la_francesca/1.0.2/1
- dev-test/1.0.2/1
- dev-cinzia
- dev-DEPLOY_POI_20180921
- dev-test/1.0.0/1
- dev-riccardo/1.0.0/1
- dev-smart/1.0.0
- dev-m.bonora/1.0.0
- dev-enrica/1.0.0
- dev-g.baraldi/1.0.0
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
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.Add module to your modules-amos config in backend:
<?php $config = [ 'modules' => [ 'search' => [ 'class' => 'elitedivision\amos\search\AmosSearch' ], ], ];
Enable the search bar add to backend/params-local
search navbar menu
'searchNavbar' => true
Module configurations
- enableNetworkScope - boolean, default = false
If true, when the scope is within a network (eg. in a community) only the network contents results are shown