Fma965
(Fma965)
8 نوفمبر 2021، 9:36م
1
Hi All,
Does any one know how I can make the Layouts Plugin (Layouts - Pavilion ) show on Discourse Docs pages
Summary
Discourse Docs provides the ability to find and filter knowledge base topics
Repository Link
https://github.com/discourse/discourse-docs
Install Guide
How to install plugins in Discourse
Features
The Discourse Docs plugin is a powerful tool that transforms your Discourse forum into a community-powered knowledge base. It provides a dedicated Docs section where users can create, update, and curate documentation. This plugin fe…
You can see an example of the side bar on any page on https://community.cyanlabs.net and then that it’s missing here Docs - CyanLabs Official Community
إعجاب واحد (1)
osioke
(Osioke Itseuwa)
9 نوفمبر 2021، 5:45ص
2
إعجابَين (2)
keegan
(Keegan George)
9 نوفمبر 2021، 3:47م
3
@Fma965 @osioke
Unfortunately, the Layouts plugin at this time doesn’t support custom contexts.
Although the layouts plugin supports a variety of Discourse routes, since the docs plugin creates a new custom route at /docs
, it’s not currently possible to add layouts there.
Perhaps this is a feature we may consider including in the future.
إعجاب واحد (1)
Fma965
(Fma965)
9 نوفمبر 2021، 3:52م
4
Thanks,
Ofcourse everything is possible, any suggestions on where to look to implement this myself in a somewhat hacky way?
Ruby isn’t my language of choice but maybe I can still wing it somehow with some pointers?
إعجابَين (2)
keegan
(Keegan George)
9 نوفمبر 2021، 4:03م
5
@Fma965
Have a look at this commit:
https://github.com/paviliondev/discourse-layouts/commit/a09d135a6f90056dafa654f3d9dd19f4dfb0a6a9
where @angus added 3 new contexts for the plugin. It might point you in the right direction.
4 إعجابات
Fma965
(Fma965)
9 نوفمبر 2021، 5:33م
6
Many thanks i will take a look shortly
3 إعجابات
system
(system)
تم إغلاقه في
9 ديسمبر 2021، 5:33م
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.