Custom Category Boxes

|||
-|-|-|
:discourse2: | الملخص | تعرض مربعات الفئات المخصصة فئاتك كمربعات بخلفيات مخصصة في صفحة الفئات الخاصة بك. سيقوم هذا المكون أيضًا بعرض كل صفحة فئة مع لافتة فئة إذا تم تحديد show_banner.
| :eyeglasses: | معاينة | معاينة على منشئ سمات Discourse |
:hammer_and_wrench: | رابط المستودع | https://github.com/discourse/discourse-custom-category-boxes-component
:open_book: | جديد في سمات Discourse؟ | دليل المبتدئين لاستخدام سمات Discourse

تثبيت المكون

الميزات

:information_source: لكي يعمل هذا المكون، يجب تعيين desktop category page style إلى categories with Featured Topics أو Boxes with Featured Topics

هناك أربعة خيارات للاختيار من بينها. الافتراضي هو halftones.

خلفية نصفية

Halftone option

خلفية متشابكة

Crosshatch option

لا شيء

None option

مخصص

إذا كنت ترغب في إنشاء هذا التأثير باستخدام بعض أعمالك الفنية الخاصة، فقم بتحميل 4 صور .png مختلفة بخلفيات شفافة أو صور .jpg تقليدية في صفحة الإعدادات. لكل تحميل، استخدم اصطلاح التسمية custom-0، حتى الأخير custom-3. تأكد من تحديد custom كإعداد لخلفية الفئة الخاصة بك.

Custom option

الإعدادات

الاسم الوصف
category background اختر أحد الخيارات الأربعة
show banner إذا تم تحديده، ستظهر لافتة منمقة على كل صفحة فئة، مطابقة لمظهر مربع الفئة.
الترجمات الافتراضي
more_topics المزيد من المواضيع…

31 إعجابًا

Simple, clean. Nice component. Thanks.

3 إعجابات

Great plugin! I have been searching for it for a long time, thank you.

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

I think it should have auto-resize for picture or limit

3 إعجابات

thanks for the theme :+1:

may you consider slight changes so that the theme also works for rtl direction without any edits? (as edits go away after updates).

also where can I translate this string: “more topics …”. it was neither in the admin customize section nor in the theme :thinking: .

3 إعجابات

Glad you enjoy the component. I have added translation for more topics.... As for the rtl direction it is something I will look into.

Until then, make sure you copy your customization and add it back after updating the component. :smile:

3 إعجابات

thanks :blush:

for this, there’s only one line which needed to be commented:

a #custom-category-title{ text-align: left;}

btw, I noticed that these category boxes won’t apply for subcategories. is it possible that the same rules also applies to subcategory boxes?

إعجابَين (2)

I believe you might be able to create your changes as a seperate theme component with Overides in your component plugin.

you are right, and I’ll do that for this case.

but I believe that when the whole discourse application is compatible with both rtl and ltr directions, it means that “details matter for the creators” and “they want to build the best service, not just a service”. well, this can happen for its great themes as well.

إعجابَين (2)

I want this theme too but I’m straggling to add it.

عمل رائع على هذه المكونة!
أواجه مشكلة في عدم عرض الفئات المضافة حديثًا بشكل صحيح. لقد أضفت للتو فئة الأحداث وحددت مربع الاختيار لعرضها ولم تظهر في صفحة الفئات. لست متأكدًا من كيفية المضي قدمًا لجعلها تعرض جميع الفئات التي اختارها كل مستخدم.


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

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