Taxonomy¶
Taxonomies (Tags) allow you to organize content to make it easy for your site users to browse and to deliver content appropriate for them. It also enhances content search. Taxonomies are classifications of logical relationships between content. In Ibexa DXP you can create many taxonomies, each with many tags. The platform mechanism enables creating any entities with a tree structure and assign them to a Content item.
Default tag configuration is available in config/packages/ibexa_taxonomy.yaml
The associated Content Type is tag
.
1 2 3 4 5 6 7 8 |
|
Configuration keys¶
ibexa_taxonomies
- section responsible for taxonomy structure where you can configure other taxonomiesibexa_taxonomies.tags.parent_location_remote_id
- Remote ID for Location where new Content items representing tags are createdibexa_taxonomies.tags.content_type
- Content Type identifier which stands for the tagsibexa_taxonomies.tags.field_mappings
- Field Types map of a Content Type which taxonomy receives information about the tag from.
Three fields are available: identifier
, parent
and name
.
The identifiers correspond to Field names defined in the Content Type. The name
Field is used to automatically generate an identifier.
Customize taxonomy structure¶
You can create other taxonomies than the one predefined in the system, for example a Content category.
To do it, first, create a new Content Type with content_category
identifier and include the following Field Types:
category_identifier
ofezstring
typeparent
ofibexa_taxonomy_entry
typename
ofstring
type
Next, in config/packages/ibexa_taxonomy.yaml
add the following configuration:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
|
Hide Content tab¶
The Content tab in taxonomy objects, for example, tags and categories, lists all Content assigned to the current taxonomy. You can hide the Content tab in the Categories view.
In the config/packages/ibexa_taxonomy.yaml
add assigned_content_tab
with the flag false
(for other taxonomies this flag is by default set to true
):
1 2 3 4 5 6 7 8 9 10 |
|
For more information about available functionalities of tags, see User Documentation.