ghassan
(Ghassan Maslamani)
7월 17, 2022, 9:26오전
1
I have just released a discourse plugin for chaining topics
When I was going over Developing Discourse Plugins - Part 1 - Create a basic plugin the guide is splitted into 7 parts.
I thought why not creating a plugin for this use case; where you have topics in a chain.
By using this plugin you could add “Next Topic” and “Previous Topic” links on the topic title.
See screenshot below for example how it would look:
For more details and install : GitHub - zaatdev/discourse-chain-topics: This a discourse plugin which adds a feature where it would be possible to chain topics. A topic can have other topic to be it's next or previous topic. · GitHub
Special thanks to @angus for How to add custom fields to models the guide/example enormously simplized the way I wrote the plugin.
18개의 좋아요
Absolutely LOVE this – a very important feature for Story forums as well as Documentation forums!
I’m getting a 500 error when I click the Save Edit button. The field in the composer doesn’t seem to keep what I enter into it…
Paginate Pagination Prev Next Previous Next In Sequence Sequential Forward Back (adding some key words here to make this Topic easier to find for folks!)
Here’s a method I’m using …
ghassan
(Ghassan Maslamani)
10월 31, 2022, 10:59오전
4
Hey @denvergeeks , yes the plugins probably need some refactoring. I haven’t given it much attention recently, I will try devote sometime soon.
2개의 좋아요
ghassan
(Ghassan Maslamani)
11월 1, 2022, 8:33오전
6
I am trying to reproduce, but couldn’t for the same exact error you report.
What is your version of discourse (I tried from the master branch)
Do you have spesfic plugins, settings that are not typical
Did you get that error always, no matter the type of topics…etc
1개의 좋아요
Hello @ghassan – I still get the same 500 error when saving the Topic post!
What is your version of discourse (I tried from the master branch)
I’m all up to date!
Do you have specific plugins, settings that are not typical
I tried removing all other plugins but the same…
Did you get that error always, no matter the type of topics…etc
Yes always – all types of Topics result in the same 500 error!
This plugin would be so useful, I really do hope you can fix it!!!
1개의 좋아요
@ghassan 이 플러그인을 업데이트할 가능성이 있을까요?
새로 리팩토링된 Discourse Docs에서 사용자가 Docs 페이지를 시퀀스로 정리할 수 있는 이 기능은 정말 유용할 것 같습니다!
3개의 좋아요
nathank
(Nathan Kershaw)
9월 5, 2024, 8:38오전
10
테마 컴포넌트로 처리할 수도 있겠네요, 뭐?
하지만 다시 생각해 보면, 게시물의 상단이나 하단에 링크를 수동으로 넣는 건 그렇게 어려운 일이 아닙니다.
3개의 좋아요