No worries. I should have linked to instructions here too! There is a nice illustrated set of instructions you can check out here. It’s possible you might be on the latest version of Discourse, in which case the UX for themes and components has changed a little. Let me know if the instructions I linked to still leave you a little lost. I’d be happy to help you figure it out.
By the way, the topic below is the home of this theme component now:
however I’ve just fiddled round with the customization settings - I’ve never had an issue before, and now my site has disappeared!! Just produces a blank screen, but the code is there!!
You’ll need to go to your site’s safe mode Air Cadet Central and check “disable current theme” then you’ll want to revert whatever change you made in the customizations.
OK back up and working - thanks again - I’ve installed your theme and it’s installing as a Theme not a Theme Component??? any ideas. I’m on Version: v2.1.0.beta5 +66
You’ll want to click the “make component” button then confirm. You should then be able to add it to your main theme the way it’s outlined in the instructions I linked to earlier.
Fab, getting there! Making it a component works, but when I add it to my theme it adds a component with the others but there’s no text for the link, but the (x) button is there. The link it produces ends in a # where the others don’t??
and it doesn’t seem to work!!
Ah yeah, I think that might be a little bug that’s still getting worked out. Try refreshing the page, then click the (x) if that blank theme component is still there, then try selecting the Force Mobile Homepage component again. You might also try selecting another theme component from the dropdown list, then open the list again and select the Force Mobile Homepage component again. Click the “add” button and hopefully that should do it!
لا يوجد سبب محدد، لا. ومع ذلك، لم أعد أستخدم ذلك السكربت. مع إضافة صفحات رئيسية قابلة للاختيار من قبل المستخدم، أوجه أولئك الذين يفضلون /latest لاختيارها.
لقد وجدت هذا الموضوع في الأصل أثناء البحث عن حل لمشكلتي:
كما يوضح، قمت بإعداد منتداي لعرض الفئات + آخر المواضيع، لأنني لا أريد عرض آخر المواضيع فقط على سطح المكتب. إليك إعدادات Discourse اللتان تجعل هذا التخطيط ممكنًا:
هذا هو التخطيط المثالي بالنسبة لي، حيث يعرض الفئات للمستخدمين الراغبين في نشر شيء جديد، ويجعل آخر المواضيع متاحًا للآخرين الذين يعودون فقط لمعرفة الجديد.
ولأي شخص يقرأ هذا ويريد فعل الشيء نفسه، إليك ما يجب عليك فعله:
هل من الممكن توفير هذه الميزة على أساس كل مستخدم؟ مثلاً أن يتمكن كل مستخدم من اختيار صفحته الافتراضية على الهاتف المحمول في تفضيلات الواجهة (هناك بالفعل إعداد عام موجود، ونحن بحاجة فقط إلى إعداد خاص بالهاتف المحمول فقط).
أواجه نفس المشكلة حاليًا: على سطح المكتب، أفضل عرض التصنيفات الذي يظهر أحدث موضوع على الجانب الأيمن. أما على الجوال، فيعرض عرض التصنيفات التصنيفات فقط. وعلى الجوال، أفضل عرض تغييرات “آخر” موضوع.
سيكون رائعًا وجود تفضيلان:
الصفحة الرئيسية الافتراضية على سطح المكتب: [حقل اختيار]
الصفحة الرئيسية الافتراضية على الجوال: [حقل اختيار]
هل يمكن أن يكون هذا إعدادًا على مستوى الجهاز أيضًا؟ فالحلول البديلة المذكورة أعلاه ليست مثالية لأنها تفرض الإعداد على جميع مستخدمي الأجهزة المحمولة (ويصعب تصنيف الأجهزة اللوحية في هذا الصدد). ومن الواضح تمامًا أنه في كثير من الأحيان قد يكون من المنطقي وجود تفضيلات مختلفة بناءً على الجهاز، وليس مجرد التمييز بين سطح المكتب والأجهزة المحمولة.