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 curtidas

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 curtidas

Movi isso para a categoria (novíssima!) #customization:theme:broken-theme para evitar qualquer confusão. Ainda assim, seria ótimo corrigir o problema. Usar a API oficial de plugins JavaScript tornaria o sistema mais resiliente no futuro (o mesmo vale para a equivalente em /user).

2 curtidas

Is the option to add groups available?

Este plugin substitui a funcionalidade que este antigo tema fornecia: Custom Top Navigation Links

2 curtidas

Nota: não há razão técnica para isso exigir um plugin; essa modificação pode ser feita usando apenas a API do lado do cliente em um componente de tema.

3 curtidas

Nossa! Queria dizer exatamente o oposto do que postei:

Este novo componente de tema substitui a funcionalidade que este tema antigo fornecia.”

Desculpe, postei rapidamente sem reler :flushed_face:

Sinta-se à vontade para fechar este tópico. Já arquivei este tema no Github.

2 curtidas