Plugin Layouts

Strange. I updated to 3 nested layers of categories but now i find that the Categories List component ignores any categories which have three layers within them. I get no errors in console

Update: I’ve worked it out. On our forum the component didn’t like category slugs left blank, so using the default set up which just uses sequential numbers. If one category or sub was using the default slug none of its brothers and sisters would show up either… well most of them wouldn’t. Occasionally one does and i can’t see why.

I’ve noticed this plugin doesn’t play nice on desktop with the popular Kanban boards plugin. That can be overcome by allowing users to close the plugin with a click. I guess expected functionality, if you want them to work together, would be that it recognises the other element and begins in closed mode. Allowing the user to open it if needed.

We are currently working on a modified version which would achieve that in a slightly different way. So it won’t be a direct solution to this bug for those who want their functionality to stay the same.

Hey @Drew-ART, check out the layouts interoperability topic on the Pavilion forum. This topic addresses the interoperability of the layouts plugin with other plugins/themes. There is a suggested fix mentioned for the layouts plugin to work with Discourse Kanban by adding some CSS.

3 Mi Piace

I believe I’ve installed this according to your instructions here - Installation and Setup - Layouts - Pavilion and here - Widget Settings - Layouts - Pavilion. However, I am not seeing any change to the theme in use on my site - https://hangarflying.com. I’m sure I have missed some setting but am unable to find it. I’ve included my installation settings below. Thanks in advance!

Hey @Whiskey_Victor_LLC :slight_smile:

You need to enable some contexts. Have a read over the widget settings again, and let us know if anything isn’t clear there by replying to that topic

Yep I read it. I have one widget enabled with every context enabled and the layout still does not want to display…

Try removing “all categories”, save and refresh.

If you have follow up questions, or further issues with widget settings please post them here:

Ok cool, thank you that worked. Now I can’t seem to get the others to work…I will post them in the other site.

I have a very odd output with the use of both custom layout plugin and the location plugin.

I have the layout plugin set up in a way that shows a topic location map on the right side of the topic list for a couple of the categories. it used to display like this.

Starting from some time last week, if I click the link to the category, the map just won’t show up.

But I click refresh button in the browser, the map shows up again.

Any idea why this is happening? I got rid of all my CSS to test if its a CSS issue. But the phenomenon persists.

Any clues?

Some additional data point: When I load a category with the layout sidebar enabled, the sidebar doesn’t show and the CSS shows:

<div class="main-content discovery category no-sidebars" style="width: 100%">

When I click the refresh button in the browser, the sidebar with the map shows up and the html says:

<div id="ember128" class="sidebar-container ember-view"><div class="sidebar-content" data-click-outside="true"><div class="widget-container nav-container"><div class="locations-map">

Any idea why the plugin will consider the category to not configured to have sidebars when its actually the opposite?

Hey @ckshen

Thanks for identifying this issue in a very detailed manner. The information your provided will be very helpful in fixing this problem. I created a bug report for this issue, and hopefully we can resolve this issue very soon. Sorry for the inconvenience! I will post an update here once this issue is resolved.

3 Mi Piace

Thank you for looking into this!

FYI this issue started when I upgraded the discourse software around a month ago. I upgraded to 2.8.0.beta6 (f38fd1a5a7) yesterday and the issue persists.

1 Mi Piace

Ho appena aggiunto questo plugin l’altro giorno e mi piace molto. Ho personalizzato un menu mobile che sembra aiutare molto. Sfortunatamente, ho notato che il menu mobile non sembra apparire con il nuovo plugin di chat. Ho allegato screenshot qui sotto (ho oscurato il logo del sito e le discussioni della chat per motivi di privacy; inoltre, ho personalizzato il plugin whos-online per essere in quel punto, non standard).

Nella pagina di ricerca e in altre pagine, va bene:

Ma nella pagina della chat (che appare dopo aver cliccato sulla bolla della chat nel menu dell’intestazione), non appare più:

Non è molto urgente, tuttavia, con la nuova funzionalità di chat, la trovo piuttosto piacevole da avere (odio spostare il pollice in cima allo schermo per navigare).

C’è qualcosa che suggerisci che posso fare per risolverlo da parte mia?

1 Mi Piace

Inoltre, non sono sicuro se si tratti di un bug o meno, ma quando creo un elenco di categorie e lo inserisco nel menu laterale sinistro, quando faccio clic sulla freccia a discesa per le categorie che hanno sottocategorie, vengo involontariamente inviato alla categoria.

Cosa mi aspetto:

  1. Fai clic sulla freccia a discesa
  2. Le sottocategorie vengono rivelate e la navigazione non cambia
  3. Fai clic sulla freccia verso l’alto
  4. Le sottocategorie vengono nascoste e la navigazione non cambia

Cosa sta succedendo:

  1. Fai clic sulla freccia a discesa
  2. Le sottocategorie vengono rivelate e la navigazione cambia in quella categoria
  3. Fai clic sulla freccia verso l’alto
  4. Le sottocategorie vengono nascoste e la navigazione non sembra cambiare

Sembra accadere sia su desktop che su mobile.

1 Mi Piace

Ciao @jimkleiber

Il plugin della chat sembra aggiungere un percorso personalizzato (/chat), che attualmente non è supportato dal plugin Layouts. Ho creato un report per quanto hai menzionato e cercherò di vedere se possiamo supportarlo.

Sfortunatamente, non credo ci sia nulla di attualmente possibile che tu possa fare per risolvere questo problema.

Sì, questo è l’attuale comportamento previsto del widget. Viene indirizzato prima alla categoria e poi appaiono le sottocategorie. Tuttavia, discuterò con il resto del team Pavilion riguardo alla modifica del comportamento.

2 Mi Piace

Eccellente, grazie!

:+1:

Ah OK, sì, mi confonde solo perché normalmente mi aspetto che la freccia a discesa si apra senza forzare una navigazione del sito. Posso capire se fare clic sul titolo della categoria o anche sulla riga navigasse e si aprisse, ma con la freccia lì, sembra interrompere le mie aspettative.

2 Mi Piace

Sto riscontrando un comportamento incoerente del layout mobile, correlato al browser. Su mobile, sia Chrome che Firefox hanno la barra di navigazione inferiore fissa, non si alterna durante lo scorrimento. Su DuckDuckGo, invece, si alterna. Sto vedendo lo stesso sulla mia istanza ma anche su thepavilion.

Ciao @Mr.X_Mr.X,

Grazie per aver condiviso questo problema. Sembra essere presente solo su DuckDuckGo. Mi occuperò di risolverlo.

1 Mi Piace

Non riesco a trovare il contesto “Latest” e “Categories” per il plugin Layouts, ho provato su due installazioni diverse. I contesti latest e category sono stati rimossi o c’è un errore da parte mia?

Ciao @Mr.X_Mr.X,

Latest e Categories non verrebbero elencati nei contesti in quanto sono filtri. Puoi selezionarli tramite l’input Filters o lasciare vuoto quell’input per indirizzare tutti i filtri.

1 Mi Piace