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개의 좋아요

I’ve moved this to the (brand new!) #customization:theme:broken-theme category to avoid any confusion. It would be still great to get it fixed though. Using the official javascript plugin API would make it more resilient in future (same goes for the /user equivalent).

2개의 좋아요

Is the option to add groups available?

이 플러그인은 이 오래된 테마가 제공했던 기능을 대체합니다: Custom Top Navigation Links

2개의 좋아요

참고로, 이 작업에 플러그인이 필요한 기술적인 이유는 없습니다. 테마 컴포넌트 내에서 클라이언트 측 API만 사용하여 이 수정을 수행할 수 있습니다.

3개의 좋아요

아니, 내가 쓴 내용과 정반대였는데:

“이 새로운 테마 컴포넌트가 기존 테마가 제공하던 기능을 대체합니다.”

읽어보지 않고 서둘러 올렸네요. 죄송합니다 :flushed_face:

이 주제를 닫아도 좋습니다. 저는 이미 이 테마를 Github에서 아카이브 처리했습니다.

2개의 좋아요