Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Hide taxonomy-types in specific blueprint

form

Started by Christophe 5 years ago · 0 replies · 521 views
5 years ago

Hello,

I have 4 taxonomy-types:

  • category
  • tag
  • level
  • properties

Is it possible 'hide' one or more taxonomy-types from a specific blueprint?
I try this in the blueprint province.yaml, with no luck:

YAML
           header.taxonomy:
              type: taxonomy
              label: PLUGIN_ADMIN.TAXONOMY
              multiple: true
              default:
                level: ['provincie']
              validate:
                type: array

            header.taxonomy.properties:
              unset@: true
              help: 'helptekst'

Otherwise, how can i set also a help-text below a taxonomy-type?
Trying access the taxonomy-types, but nothing changed.

Reading the docs, but can't find anything about specific problems...
https://learn.getgrav.org/17/forms/blueprints/fields-available#taxonomy-field

last edited 11/01/21 by Christophe

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 56 13 hours ago
Support · by Anna, 3 days ago
2 61 16 hours ago
Support · by Justin Young, 17 hours ago
1 32 17 hours ago
Support · by Duc , 1 week ago
2 66 5 days ago
Support · by Colin Hume, 1 week ago
2 59 5 days ago