Pour créer des étiquettes et configurer des restrictions de visibilité/utilisation, consultez le guide ci-dessous
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…
Une fois que vous avez suivi le guide sur la création d’un groupe d’étiquettes, il vous suffit d’aller dans les paramètres de la catégorie « Idées / Suggestions » et d’y ajouter le groupe d’étiquettes (flèche rouge) et d’appuyer sur enregistrer.
Vous pouvez utiliser un composant de thème tel que celui ci-dessous pour y parvenir.
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 « J'aime »