كنت أقوم ببناء سمة جديدة باستخدام Theme Creator/CLI وكان لدي تجربة جيدة حتى الآن مع CSS، والأدوات المصغرة (widgets)، ومنافذ الإضافات (plugin-outlets). كنت أتساءل عما إذا كانت هناك ملف/مجلد يمكنني إضافته/تعديله لإنشاء صفحة/مسار جديد (مثل الأسئلة الشائعة).
رأيت موضوعًا سابقًا كان مشابهًا ولكن الروابط فيه كانت معطلة في الغالب
Hi, I wonder if its possible to create a custom page like FAQ, TOS, and Privacy page. and I also notice that they are actually a Topic. if its not possible to create custom page, how can I make a permalink like FAQ, TOS, and Privacy page.
إعجاب واحد (1)
keegan
(Keegan George)
15 نوفمبر 2021، 7:30م
2
لا أعتقد أن هذا ممكن باستخدام سمة فقط. ستحتاج على الأرجح إلى إنشاء إضافة (plugin) وبعض أكواد Ruby.
ألقِ نظرة على هذا الموضوع:
Over time Discourse has grown in complexity and it can be daunting for beginners to understand how data gets all the way from the back end Ruby on Rails application to the Ember.js application in front.
This tutorial is meant to show the full lifecycle of a request in Discourse and explain the steps necessary if you want to build a new page with its own URL in our application.
URLs First
I always prefer to start thinking of features in terms of the URLs to access them. For example let’s say we…
أو إذا كنت تحتاج ببساطة إلى بعض الصفحات المخصصة المستقلة لعرض المعلومات، فهناك إضافة الصفحات المقصودة (Landing Pages Plugin):
إعجابَين (2)
HAWK
(Hawk)
15 نوفمبر 2021، 11:09م
3
3 إعجابات
شكرا! هذا يعمل لحالتي البسيطة!
أقدر الإجابة من Keegan وسأجرب هذا النهج إذا احتجت إليه.
3 إعجابات