XF 2.1 How do I get the thread title in a sidebar widget?

rhodes

Active member
In my xf2 forum I have a widget in the sidebar of the thread view. In this widget I need the thread title. Unfortunately, I am not able to do that.
When I display the available variables with {{ dump(vars()) }}, I see context-thread, but there seems to be no title in it.

Any idea how I can get the thread title in a widget in the sidebar?
 

Brogan

XenForo moderator
Staff member
Solution
Top