Group Categories Page Override

Discourse
Thu, 07 Apr 2022 01:55:03 +0000
Theme component

| |
| 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

As this is an official theme component maintained by the Discourse team, Support, Bug, UX, and Feature requests can be made in the respective categories here on Meta, and tagged with the appropriate theme component tag. Click on a link below to get one started.

Support Bug UX Feature

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 add trust_level_0 to group_exclude.

If someone belongs to multiple groups with matching settings, the later setting will take priority.

So for example if item 1 is staff and I later set item 2 to trust_level_0 and I belong to both groups, I will see the categories page set for trust_level_0

This component does not work with the categories page styles: categories with featured topics and subcategories 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 Wednesday, June 12, 2024 7:34 PM UTC
Check document (нажмите для более подробной информации)

1 сообщение - 1 участник

Читать всю тему