Questo plugin mostra le categorie nella barra laterale della pagina su tutte le pagine dell’elenco di scoperta (ultimi, nuovi, non letti, ma non sulla pagina del singolo argomento e sulle categorie).
I blocchi possono essere ordinati nelle impostazioni del plugin. A proposito, queste sono le impostazioni disponibili sotto Admin > Impostazioni > Plugin:
sidebar enable abilita la visualizzazione della barra laterale
sidebar custom content dove puoi inserire contenuto HTML arbitrario da mostrare nella barra laterale
Il plugin funziona solo su desktop e non sono previsti piani per aggiungerlo alla visualizzazione mobile.
Nota importante. Nonostante la chiarezza, questo esempio aggiunge una duplicazione delle categorie che esistono già altrove in questa pagina. Ovviamente, possiamo nascondere alcuni elementi di navigazione per evitare la duplicazione, ma ciò comporterà ancora più modifiche.
Penso che questo possa essere un buon esempio di utilizzo di una barra laterale. Puoi clonare il plugin e utilizzarlo per le tue esigenze (modificando il codice per le tue attività specifiche).
The plugin is awesome i been looking for something like this but can you please tell me how i can reduce the space between the Categories and the posts list ?
see the picture below
Update: also its showing on mobile breaking tye page
The plugin was not intended to work on the mobile version. This is a bug in the plugin (css) and it will be fixed soon. As a temporary solution, you can do as written @Steven. Thank You.
This requires some work, and I do not think that within the framework of this plugin. And that’s why. The fact is that the central page and the page of categories we can easily compress (to find free space) for the sidebar.
We can find a place for the left column here, but this will have to reduce the width of the topic itself and the right column, which will require large changes. There are a lot of small parts.
In general, for this it is better to do a separate plugin.
today I’ve updated to the new version of discourse, and then install 2 plugins: the “sidebar with categories” and the “topic list preview”. After that, my site running very slowly. I don’t know why.
Try experimenting: turn off one of the above plugins in turn. Perhaps you will find out why this happens looking at the statistics (on the left side of the screen).
Thank you Evgeny. I’ve already install that plugin and running. But I want to add the Ads script in that area, or add the short-sidebar-category in it, so the user can easy to change the new category if he wants.