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 Me gusta

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 Me gusta

He movido esto a la categoría #customization:theme:broken-theme (¡recién creada!) para evitar cualquier confusión. Aun así, sería genial que se solucione. Utilizar la API oficial de complementos de JavaScript haría que fuera más resistente en el futuro (lo mismo aplica para el equivalente de /user).

2 Me gusta

Is the option to add groups available?

Este plugin reemplaza la funcionalidad que proporcionaba este tema antiguo: Custom Top Navigation Links

2 Me gusta

Nota: no hay ninguna razón técnica que requiera un plugin; esta modificación puede realizarse únicamente utilizando la API del lado del cliente en un componente de tema.

3 Me gusta

¡Ay, Dios mío! Quise decir exactamente lo contrario de lo que publiqué:

Este nuevo componente de tema reemplaza la funcionalidad que proporcionaba este tema antiguo.”

Lo siento, publiqué rápido sin volver a leer :flushed_face:

Siéntete libre de cerrar este tema. Ya he archivado este tema en Github.

2 Me gusta