Add /groups to top nav

Location

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

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!) #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)

ملاحظة: لا يوجد سبب تقني يستدعي استخدام إضافة؛ يمكن إجراء هذا التعديل باستخدام واجهة برمجة التطبيقات الخاصة بالعميل فقط في مكون السمة.

3 إعجابات

يا إلهي! كنت أقصد العكس تمامًا مما نشرته:

هذا المكون الجديد للسمة يحل محل الوظيفة التي كانت توفرها هذه السمة القديمة.”

آسف، لقد نشرت بسرعة دون إعادة القراءة :flushed_face:

لا تتردد في إغلاق هذا الموضوع. لقد قمت بأرشفة هذه السمة على Github.

إعجابَين (2)