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

Taxonomy blueprint question #830

Open
NicoHood opened this issue Aug 23, 2020 · 0 comments
Open

Taxonomy blueprint question #830

NicoHood opened this issue Aug 23, 2020 · 0 comments

Comments

@NicoHood
Copy link
Contributor

NicoHood commented Aug 23, 2020

Hi,
I am a bit lost when defining the taxonomy blueprints. I am not sure if my required solution is either not possible, or if I am doing something wrong. After I find out, I would correct the docs, if possible.

Page:
https://github.com/getgrav/grav-learn/blob/develop/pages/06.forms/01.blueprints/01.fields-available/docs.md
https://learn.getgrav.org/16/forms/blueprints/fields-available#taxonomy-field

What I want to do:

  • Add a selection box for categories and tags to my blueprint
  • Do NOT add all other defined taxonomies (currently ALL are added, but not all are relevant in this blueprint)
  • Only allow a SINGLE selection for categories.
  • Make categories required
  • Add default values for categories and ONLY allow those predefined values
  • Tags should be free to define

To me it seems that I can only add ALL taxonomies, add options and default to them, but I cannot limit their count or values. It also looks to me that the lable option does nothing at all, as well as the multiple and required option!?

Some forum users have the same issue:
https://discourse.getgrav.org/t/show-only-a-specific-taxonomy-in-a-page-blueprint/3328/5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant