ondrej
April 11, 2024, 2:28pm
2
To create tags and set up visibility/use restrictions have a look at this guide below
Tag support is a core feature of Discourse. In this How-To I’ll go through setting up a tag schema like Car Talk uses.
We’ll want to achieve these things:
Tags for car makes and car models.
Only allow the car make and model tags to be used in certain categories.
Car model tags can only be chosen if the matching car make tag is used.
Prerequisites
First, we need to enable tags in the settings:
[tag enabling]
In a schema where we’re strict about how tags are used, we should prevent most pe…
Once you have followed the guide on creating a tag group all’s you need do is go the ‘Idea / suggestions’ category settings and add the tag group here (red arrow) and press save
You can use a theme component such as the one below to achieve this
This is a Discourse theme component that allows admin to change tag’s background color and text color.
Repository Link
https://github.com/RailForWork/Discourse-Coloring-Tag
[image]
Theme Settings
Comma delimited in this order: Tag Name,Background Color,Text Color.
Tag Name: What your Tag Name is.
Background Color: Background Color of the tag.
Text Color: Decide the text color in the tag.
A correct example for settings will be: [Theme-component,#ffffff,black.]
(Both Background color a…
5 Likes