I’ve implemented some tag groups as described here https://meta.discourse.org/t/tags-category-restrictions-tag-groups-relationships/48260
I’d like to have the Brand and Model tags mandetory, is this possible?
I’ve implemented some tag groups as described here https://meta.discourse.org/t/tags-category-restrictions-tag-groups-relationships/48260
I’d like to have the Brand and Model tags mandetory, is this possible?
Yes. See tag groups and category settings and associated topics.
Ah, I see. But…
I want to make the tag ‘Brand’ mandetory. If someone chooses ‘Audi’ as brand, then the tag ‘Audi-models’ should be mandetory. If he chooses ‘Volkswagen’ as brand, then the tag ‘Volkswagen-models’ should be mandetory.
Can this also be done?
I believe so. Did you look at A comprehensive guide to Discourse tags
Yes i did, but there’s nothing there about the question i have
You’re looking for parent-child tag relationships. Information on setting that up is in Tags: category restrictions, tag groups, relationships (which is linked to from the topic Jay shared. In fact, car make/model is the example used!
Thanks @jomaxro ,
I did create parent-child relationships, but still this doesn’t work for me.
Quote myself:
" If someone chooses ‘Audi’ as brand, then the tag ‘Audi-models’ should be mandetory. If he chooses ‘Volkswagen’ as brand, then the tag ‘Volkswagen-models’ should be mandetory."
As far as I can see this is not possible. I can make Brand mandetory en set the minimum of tags required to 2. In that case the first tag they can only choose a Brand, because that’s the parent. As the second tag they can choose an Audi model, but also another brand! So they can choose two brands instead of the mandetory Brand+Model
Is there a way to solve this?
Did you check off the “Limit one tag per topic from this group” for the brand tag group? That will handle your use case of only allowing a single brand.
Mir fehlt vielleicht etwas bei den obligatorischen Tags – aber meine Annahme war, dass, wenn ich einen obligatorischen Tag aus einer Tag-Gruppe habe (in meinem Fall enthält diese aktuell nur einen Tag), dieser beim Erstellen eines neuen Beitrags entweder automatisch angewendet wird (was nicht passiert ist) oder das Speichern des Beitrags ohne den obligatorischen Tag nicht möglich ist (der Beitrag konnte jedoch gespeichert werden, ohne dass Tags angewendet wurden).
Mache ich etwas falsch?
Diese Tag-Regeln gelten nicht für Administratoren, was ich manchmal etwas ärgerlich finde.
Äh, danke – ich muss es dann mal mit einem normalen Mitglied versuchen. Wenn das die Lösung ist, ist es erträglich, aber nervig, da stimme ich zu ![]()
Wenn schon, dann sollte es eine aktive Überschreibung sein…