إضافة التصاميم

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 إعجابات

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 إعجابات

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)

لقد أضفت هذه الإضافة مؤخرًا وأحببتها حقًا. لقد قمت بتخصيص قائمة للهاتف المحمول تبدو أنها تساعد بشكل جيد جدًا. لسوء الحظ، لاحظت أن قائمة الهاتف المحمول لا تظهر مع إضافة الدردشة الجديدة. لقد أرفقت لقطات شاشة أدناه (تم حجب شعار الموقع وسلاسل الدردشة لأسباب تتعلق بالخصوصية؛ أيضًا، قمت بتخصيص إضافة who’s online لتكون في هذا المكان، وليس قياسيًا).

في صفحة البحث وصفحات أخرى، الأمر جيد:

ولكن في صفحة الدردشة (التي تظهر بعد النقر على فقاعة الدردشة في قائمة الرأس)، فإنها لا تظهر بعد الآن:

الأمر ليس عاجلاً للغاية، ومع ذلك، مع ميزة الدردشة الجديدة، أجد أنه من الجيد جدًا الحصول عليها (أكره تحريك إبهامي إلى أعلى الشاشة للتنقل).

هل هناك أي شيء تقترحه يمكنني فعله لإصلاحه من جانبي؟

إعجاب واحد (1)

بالإضافة إلى ذلك، لست متأكدًا مما إذا كانت هذه مشكلة أم لا، ولكن عندما أقوم بإنشاء قائمة فئات وأضعها في القائمة الجانبية اليسرى، فعندما أنقر على السهم المنسدل للفئات التي تحتوي على فئات فرعية، يتم إرسالي عن غير قصد إلى الفئة.

ما أتوقعه:

  1. انقر على السهم المنسدل
  2. يتم الكشف عن الفئات الفرعية ولا يتغير التنقل
  3. انقر على السهم لأعلى
  4. يتم إخفاء الفئات الفرعية ولا يتغير التنقل

ما يحدث:

  1. انقر على السهم المنسدل
  2. يتم الكشف عن الفئات الفرعية ويتغير التنقل إلى تلك الفئة
  3. انقر على السهم لأعلى
  4. يتم إخفاء الفئات الفرعية ولا يبدو أن التنقل يتغير

يبدو أن هذا يحدث على كل من سطح المكتب والجوال.

إعجاب واحد (1)

أهلاً @jimkleiber

يبدو أن إضافة الدردشة تضيف مسارًا مخصصًا (/chat)، والذي لا يدعمه حاليًا إضافة التخطيطات. لقد أنشأت تقريرًا لما ذكرته وسأبحث فيما إذا كان بإمكاننا دعم ذلك.

للأسف، لا أعتقد أن هناك أي شيء ممكن حاليًا يمكنك القيام به لإصلاح هذا.

نعم، هذا هو السلوك المتوقع حاليًا للأداة. يتم توجيهك إلى الفئة أولاً ثم تظهر الفئات الفرعية. ومع ذلك، سأناقش مع بقية فريق Pavilion حول تغيير السلوك.

إعجابَين (2)

ممتاز، شكرًا لك!

:+1:

آه حسنًا، نعم، يبدو أنه يربكني فقط لأنني أتوقع عادةً أن يؤدي سهم القائمة المنسدلة إلى فتح القائمة دون فرض انتقال إلى موقع. يمكنني أن أفهم إذا كان النقر على عنوان الفئة أو حتى الصف يؤدي إلى الانتقال وفتح القائمة المنسدلة، ولكن مع وجود السهم هناك، يبدو أنه يعطل توقعاتي.

إعجابَين (2)

أواجه سلوكًا غير متسق لتخطيط الهاتف المحمول، يتعلق بالمتصفح. على الهاتف المحمول، كل من Chrome و Firefox لديهما شريط التنقل السفلي ثابت، ولا يتم تبديله عند التمرير. على DuckDuckGo، يتم تبديله. أرى نفس الشيء على نسختي ولكن أيضًا على thepavilion.

مرحباً @Mr.X_Mr.X،

شكراً لمشاركتك هذه المشكلة. يبدو أنها موجودة فقط على DuckDuckGo. سأعمل على حلها.

إعجاب واحد (1)

لا يبدو أنني أستطيع العثور على سياق “الأحدث” و “الفئات” لمكون “Layouts” الإضافي، وقد جربت ذلك على تثبيتين مختلفين. هل تم إزالة سياقات الأحدث والفئات أم أن هناك خطأ من جانبي؟

مرحباً @Mr.X_Mr.X،

لن يتم إدراج الأحدث و الفئات ضمن السياقات لأنها عوامل تصفية. يمكنك تحديدها من خلال حقل الإدخال عوامل التصفية أو ترك حقل الإدخال هذا فارغاً لاستهداف جميع عوامل التصفية.

إعجاب واحد (1)