Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix custom taxonomy structure #2574

Draft
wants to merge 3 commits into
base: 4.6
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion code_samples/taxonomy/config/packages/ibexa_taxonomy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ ibexa_taxonomy:
field_mappings:
identifier: category_identifier
parent: parent_category
name: name_field
name: name
assigned_content_tab: false
register_main_menu: false
6 changes: 3 additions & 3 deletions docs/content_management/taxonomy/taxonomy.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Next, under the `ibexa_taxonomy.taxonomies` [key](configuration.md#configuration

``` yaml
[[= include_file('code_samples/taxonomy/config/packages/ibexa_taxonomy.yaml', 0, 2) =]] # existing keys
[[= include_file('code_samples/taxonomy/config/packages/ibexa_taxonomy.yaml', 9, 17) =]]
[[= include_file('code_samples/taxonomy/config/packages/ibexa_taxonomy.yaml', 9, 16) =]]
```

Replace `<content_categories_remote_id>` with the new container's location remote ID.
Expand All @@ -62,7 +62,7 @@ You can hide the **Content** tab in the **Categories** view.

In configuration add `assigned_content_tab` with the flag `false` (for other taxonomies this flag is by default set to `true`):

``` yaml
``` yaml hl_lines="11"
[[= include_file('code_samples/taxonomy/config/packages/ibexa_taxonomy.yaml', 0, 2) =]] # existing keys
[[= include_file('code_samples/taxonomy/config/packages/ibexa_taxonomy.yaml', 9, 17) =]]
```
Expand All @@ -72,7 +72,7 @@ In configuration add `assigned_content_tab` with the flag `false` (for other tax
By default, for each taxonomy, a menu item is added to the main menu.
You can hide this menu item by setting a value of the `register_main_menu` configuration key:

``` yaml
``` yaml hl_lines="6"
[[= include_file('code_samples/taxonomy/config/packages/ibexa_taxonomy.yaml', 0, 2) =]] # existing keys
[[= include_file('code_samples/taxonomy/config/packages/ibexa_taxonomy.yaml', 9, 10) =]] # existing keys
[[= include_file('code_samples/taxonomy/config/packages/ibexa_taxonomy.yaml', 17, 18) =]]
Expand Down
Loading