XF 1.5 "New Post" sidebar on Thread view shows no data?

Chris D

XenForo developer
Staff member
You can't just add HTML to a template and expect it to have the data automatically available. You would need code in the controller to pass the data to the template.

You may, instead, want to consider add-ons that may add the specific functionality or explore the use of an add-on that provides widgets, or similar.


New member
actually i added it not manually using html but using xenforo's "include template" just like it was on forum index. i guess ill look for the index template again, looking for which one is the code for gathering data for the widget.

Jeremy P

XenForo developer
Staff member
The code for gathering the data for display in the template is stored in PHP files, not templates themselves. Data is passed to the templates via the controllers.