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

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

Ho spostato questo argomento nella categoria (appena creata!) #customization:theme:broken-theme per evitare qualsiasi confusione. Sarebbe comunque ottimo riuscire a risolverlo. Utilizzare l’API JavaScript ufficiale renderebbe il tutto più robusto in futuro (lo stesso vale per l’equivalente /user).

2 Mi Piace

Is the option to add groups available?

Questo plugin sostituisce le funzionalità fornite da questo vecchio tema: Custom Top Navigation Links

2 Mi Piace

Nota: non esiste alcuna ragione tecnica per cui sia necessario un plugin; questa modifica può essere effettuata utilizzando esclusivamente l’API lato client all’interno di un componente del tema.

3 Mi Piace

Oh mio Dio! Intendevo esattamente il contrario di ciò che ho scritto:

Questo nuovo componente del tema sostituisce la funzionalità fornita da questo vecchio tema.”

Scusa, ho pubblicato in fretta senza rileggere :flushed_face:

Sentiti libero di chiudere questa discussione. Ho già archiviato questo tema su Github.

2 Mi Piace