How to obtain current opening topic's slug in plugin?
Hi, i want to make a plugin that displaying some suggested topics on the bottom of the topic, but the suggested topics should not contain current browsing topic,
so, i want to know how to obtain current opening topic's slug or id in this plugin, and exclude current browsing topic, many thanks~~
@Jam you can already do that using widgets. Just add the "Suggested Topics" widget to "Topic Footer" in topic.tpl under ACP -> Extend -> Widgets.
@pichalite in my nodebb topic.tpl dose not have "topic footer" only has sidebar.
I'm using nodebb 1.1.0 with lavender Them!
@sanatisharif lavender theme doesn't have the widget placeholder in footer for topic.tpl
I was talking about persona.
@pichalite thanks, i've got it~