plugin de diseños

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

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

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

Hace poco añadí este plugin y me gusta mucho. He personalizado un menú móvil que parece ayudar muy bien. Desafortunadamente, he notado que el menú móvil no parece aparecer con el nuevo plugin de chat. Adjunto capturas de pantalla a continuación (he ocultado el logo del sitio y los hilos de chat por razones de privacidad; además, he personalizado el plugin whos-online para que esté en ese lugar, no es estándar).

En la página de búsqueda y otras páginas, está bien:

Pero en la página de chat (que aparece después de hacer clic en la burbuja de chat en el menú del encabezado), ya no aparece:

No es muy urgente, sin embargo, con la nueva función de chat, me parece bastante agradable tenerla (odio mover el pulgar a la parte superior de la pantalla para navegar).

¿Hay algo que sugieras que pueda hacer para solucionarlo por mi parte?

1 me gusta

Además, no estoy seguro de si es un error o no, pero cuando creo una Lista de Categorías y la coloco en el menú lateral izquierdo, al hacer clic en la flecha desplegable de las categorías que tienen subcategorías, soy enviado involuntariamente a la categoría.

Lo que espero:

  1. Hacer clic en la flecha desplegable
  2. Se revelan las subcategorías y la navegación no cambia
  3. Hacer clic en la flecha hacia arriba
  4. Se ocultan las subcategorías y la navegación no cambia

Lo que está sucediendo:

  1. Hacer clic en la flecha desplegable
  2. Se revelan las subcategorías y la navegación cambia a esa categoría
  3. Hacer clic en la flecha hacia arriba
  4. Se ocultan las subcategorías y la navegación no parece cambiar

Parece suceder tanto en escritorio como en móvil.

1 me gusta

Hola @jimkleiber

El plugin de chat parece agregar una ruta personalizada (/chat), que actualmente no es compatible con el plugin Layouts. He creado un informe sobre lo que has mencionado y veré si podemos admitirlo.

Desafortunadamente, no creo que haya nada que puedas hacer actualmente para solucionarlo.

Sí, este es el comportamiento esperado actual del widget. Se te dirige primero a la categoría y luego aparecen las subcategorías. Sin embargo, discutiré con el resto del equipo de Pavilion sobre el cambio de comportamiento.

2 Me gusta

¡Excelente, gracias!

:+1:

Ah, de acuerdo, sí, simplemente me confunde ya que normalmente espero que la flecha desplegable se despliegue sin forzar una navegación del sitio. Puedo entender si hacer clic en el título de la categoría o incluso en la fila navegaría y desplegaría, pero con la flecha allí, parece que interrumpe mis expectativas.

2 Me gusta

Estoy experimentando un comportamiento inconsistente del diseño móvil, relacionado con el navegador. En dispositivos móviles, tanto Chrome como Firefox tienen la barra de navegación inferior fija, no se activa al desplazarse. En DuckDuckGo, sí se activa. Estoy viendo lo mismo en mi instancia, pero también en thepavilion.

Hola @Mr.X_Mr.X,

Gracias por compartir este problema. Parece que solo está presente en DuckDuckGo. Investigaré cómo resolverlo.

1 me gusta

No puedo encontrar el contexto “Latest” y “Categories” para el plugin Layouts, lo he intentado en dos instalaciones diferentes. ¿Se eliminaron los contextos latest y category o es un error de mi parte?

Hola @Mr.X_Mr.X,

Los últimos y categorías no se enumerarían en los contextos, ya que son filtros. Puedes seleccionarlos a través de la entrada Filtros o dejar esa entrada en blanco para dirigirte a todos los filtros.

1 me gusta