لإنشاء علامات وإعداد قيود الرؤية/الاستخدام، ألقِ نظرة على هذا الدليل أدناه
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…
بمجرد اتباعك الدليل لإنشاء مجموعة علامات، كل ما عليك فعله هو الذهاب إلى إعدادات فئة “الأفكار / الاقتراحات” وإضافة مجموعة العلامات هنا (السهم الأحمر) والضغط على حفظ
يمكنك استخدام مكون سمة مثل المكون أدناه لتحقيق ذلك
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 إعجابات