Add /groups to top nav

Location

Repo: GitHub - alehandrof/discourse-group-nav: Add group nav for Discourse (theme component) · GitHub

About

This theme component adds the full nav bar on both mobile and desktop on the groups page:

It’s based on the component that does the same thing with /users. So much so, that I’m not really sure how this works :slight_smile:

Install guide

How to install a theme or theme component

14 个赞

FYI - This theme component is now broken due to the recent changes on the group page. I’m at a conference right now, but I’ll look at repairing it when I get back. If any one else wants to take a stab at it, go ahead :slight_smile:

4 个赞

我已将此帖移至全新的 #customization:theme:broken-theme 分类,以避免混淆。不过,如果能将其修复就更好了。使用官方的 JavaScript 插件 API 会使它在未来更具稳定性(/user 的等效功能也是如此)。

2 个赞

Is the option to add groups available?

此插件取代了旧主题提供的功能:Custom Top Navigation Links

2 个赞

请注意,这并不需要插件,因为该修改仅通过客户端 API 在主题组件中即可完成。

3 个赞

天哪!我刚才的意思完全说反了:

这个新的主题组件 已经取代了旧主题所提供的功能。”

抱歉,我发得太快,没有重新检查 :flushed_face:

您可以随时关闭这个帖子。我已经在 GitHub 上归档了这个主题。

2 个赞