szogun
5 במרץ, 2025, 5:20pm
1
היי, אני חדש בשימוש ב-Discourse, ויש לי שאלה. האם זה אפשרי שבחר יצירת קטגוריה, למשל, “הכרזות,” תת-הקטגוריות שבתוכה יוצגו ישירות כשנכנסים אליה?
ondrej
5 במרץ, 2025, 5:54pm
2
Hello @szogun
You can achieve this in the category settings. Ensure that the box in the image below is checked. Then choose a ‘subcategory list style’ of your liking.
szogun
5 במרץ, 2025, 6:07pm
3
ושאלה נוספת, האם יש דרך לעקוף את זה? קרתה טעות: אתה לא יכול להניח תת-קטגוריה בתוך תת-קטגוריה אחרת
כלומר, יש קטגוריה - תת-קטגוריה - שוב תת-קטגוריה
ondrej
5 במרץ, 2025, 6:39pm
4
There is a a way around that - its a hidden site setting you can enable if you are self hosted. If you are a Discourse customer please contact team@discourse.org . Note that the max value is 3.
max_category_nesting
This is a how-to guide about Hidden Site Settings, how to enable them, and why you might want to adjust them.
Required user level: Administrator
Important: Console access is required for some steps.
In Discourse, hidden site settings refer to configuration options that are not readily visible or accessible through the standard admin dashboard interface. These settings are part of the backend configuration that can control various advanced or potent…
Quick guide to set it from 2 (default) to 3 via the console:
cd /var/discourse/
./launcher enter app
rails c
read current value:
[1] pry(main)> SiteSetting.max_category_nesting
=> 2
write new value:
[2] pry(main)> SiteSetting.max_category_nesting = 3
=> 3