Hi, I have seen few topics with the solution I am looking for.
I think my question is very similar to latest @abcoathup question in this post.
However, this was not answered. How can I configure my discourse site so that when users enter the main address they jump directly to mysitedomain/latest?order=created ?
And additionally, when users press on the button latest, how I configure the site so that they are re-directed to mysitedomain/latest?order=created. ?
api.modifyClass("component:navigation-item", {
active: Ember.computed("contentFilterMode", "filterMode", function() {
let contentFilterMode = this.get("content").get("filterMode");
if (decodeURIComponent(window.location.search) === location) { // check search param
return contentFilterMode.includes(filter); // if includes this param, active = true;
} else {
return this._super(contentFilterMode, this.get("filterMode"));
}
})
});
This works for me but this script will refresh whole page rather than just the inner part, is there a way I can make it only refresh inner topic component?
Hi @HeyRR, have you got this resolved. Would be interested as well as many of our members are requesting a possibility to order the latest page by creation date and not by activity date?
We’d like to see this in our Discourse community. We are new to Discourse but currently finding it difficult to moderate our community and ensure no user feedback, questions etc slip through the cracks. Since we are all working across different time zones the handoff from one moderator to another can be tricky. It would be great if we could easily choose to see all activity created on a certain day. That way if there is a gap in our handover we would see any activity for the hours we were not ‘on call’ It would also help us to see who should be responding to activity based on when it was created.
اعتاد بعضنا جدًا على تصفح الأشياء بترتيب زمني ثابت؛ هذا يساعدنا على استخدام “عتادنا” المكاني البشري لتتبع ما رأيناه. يمكن أن تبدو طريقة عرض “الأحدث” المتغيرة في المناقشة (بالاقتران مع جميع خيارات العرض الأخرى وعناصر واجهة المستخدم الأخرى) فوضوية ومجهدة بعض الشيء.
وقد قضيت وقتًا طويلاً في مناقشتنا الجديدة لفهم وشرح أن “الأحدث” له في الواقع نوعان مهمان، “الأحدث نشاطًا/مثبتًا” الذي تحصل عليه إذا نقرت على عنوان الموقع، و"الأحدث إنشاءً" الذي تحصل عليه إذا نقرت على رابط التنقل “الأحدث”.
حاليًا، يمكن تكوين “الأحدث إنشاءً” (?order=created) كافتراضي لعرض الفئات، ولكن ليس لعرض “الأحدث”.
نحن نفتقد أيضًا بشدة وجود “الأحدث إنشاءً/مثبتًا”. حاليًا، في عرضي “الأحدث” و"الفئات"، يمكننا عرض المواضيع زمنيًا، أو عرض المواضيع الترحيبية المثبتة في الأعلى، ولكن ليس كليهما.
نعم أسمعك.
أعتقد أننا بحاجة إلى إعادة التفكير في إعداد “الصفحة الرئيسية” في Discourse للسماح لأي مسار بأن يكون صفحة رئيسية ومنح المستخدمين المرونة لاختيار الصفحة الرئيسية التي يريدونها. حاليًا لدينا 5 أو 6 عناصر في القائمة ولكن في الواقع يمكننا السماح بمئات العناصر عن طريق السماح بـ “مخصص…” للصفحة الرئيسية.
إضافة إلى المرح: لاحظت أنه عند التنقل (بطرق مختلفة) إلى “الأعلى” أو “الأكثر شيوعًا”، غالبًا ما يتم إضافة ?order=created إلى عنوان URL، مما يبطل الغرض منها. لم أكتشف ما الذي يؤدي إلى ظهور هذا!