XF 2.1 How to display sidebar on new posts and similar pages?

djbaxter

in memoriam 1947-2022
I can't seem to get sidebars to display on New Posts, What's New, and similar pages.

Is there a way to do this?
 
New posts you can target using the default display location: Forum new posts: Sidebar

What's New I don't believe there's a default location for it. Assuming I'm right you'll need to add it in manually into the template.

Template: whats_new_wrapper

At the very bottom you can add something like this:

Code:
<xf:widget key="forum_overview_forum_statistics" position="sidebar" />

You can add as many as you want:

Code:
<xf:widget key="forum_overview_forum_statistics" position="sidebar" />
<xf:widget key="forum_overview_members_online" position="sidebar" />
 
Back
Top Bottom