Download the PHP package lispa/amos-tag without Composer
On this page you can find all versions of the php package lispa/amos-tag. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lispa/amos-tag
More information about lispa/amos-tag
Files in lispa/amos-tag
Package amos-tag
Short Description Sistema AMOS per le TAG
License
Homepage http://www.example.com/
Informations about the package amos-tag
Amos Tag
Extension for tags and interest areas.
Installation
- The preferred way to install this extension is through composer.
Either run
or add this row
to the require section of your composer.json
file.
-
Add module to your main config in backend:
-
To enable user-profile interest areas (tags to match with content tags), amos-cwh installation is needed
-
Apply migrations
a. amos-tag migrations
or add this row to your migrations config in console:
Configuration
Tag management is available for admin role - url PlatformUrl /tag/manager. In tag manager it is possible to:
- To add new trees or tags
- enable tag trees (by root selection) for specific models - to all roles (rbac) or to the specified ones
- change tree settings eg. root visible will allow the user to select all tags by root in TagWidget (see below)
Widgets
Amos Tag provides two Widgets:
- TagWidget open20\amos\tag\widgets\TagWidget
Draws tag tree to select values for a model. example of use in a form:
In a search form you can use the same widget with options :
If singleFixedTreeId is not specified, all enabled trees for the $model are considered (table tag_models_auth_items_mm). singleFixedTreeId is now possible an array (tag roots in singleFixedTreeId will be considered).
- ShowTagsWidget open20\amos\tag\widgets\ShowTagsWidget
Draws the selected tags for a model (in view mode). It is possible to specify a tree (property 'rootId') or a set of trees (property 'rootIdsArray') to show; if nothing is specified, all enabled trees for the model are considered. Example:
All versions of amos-tag with dependencies
open20/amos-core Version ~1.9
open20/amos-admin Version >=1.8
open20/amos-dashboard Version ~1.5
open20/amos-layout Version ^1.11.1
creocoder/yii2-nested-sets Version 0.9.*
lispa/yii2-tree-manager Version ~2.0.0