Summary |
Group Categories Page Override allows you to choose a custom /categories page layout for specific groups. |
|
Repository Link | https://github.com/discourse/discourse-group-categories-page-override | |
New to Discourse Themes? | Beginner’s guide to using Discourse Themes |
Install this theme component
Features
A few things to note!
-
Everyone belongs to
trust_level_0
, so if you’re trying to target later trust levels (trust_level_1
for example) you’ll want to addtrust_level_0
togroup_exclude
. -
If someone belongs to multiple groups with matching settings, the later setting will take priority.
So for example if
item 1
isstaff
and I later setitem 2
totrust_level_0
and I belong to both groups, I will see the categories page set fortrust_level_0
-
This component does not work with the categories page styles:
categories with featured topics
andsubcategories with featured topics
, so they’re not included in the options. Those pages would require a plugin to get the correct data serialized.
Settings
Name | Description |
---|---|
group categories |
Credits
Special thanks to @tshenry for creating Categories Layout Override and @jose.daniel.lardizab for asking about it in Different category page style for a specific group.
Hosted by us? Theme components are available to use on our Standard, Business, and Enterprise plans.
Last edited by @JammyDodger 2024-06-12T19:34:15Z
Check document
Perform check on document: