• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Custom sidebar in custom add-on

Garamond

Well-known member
#1
We are running the XF Arcade gaming add-on, and wants to add custom info in a sidebar visible only when inside the add-on.

I looked at the 'PHP/HTML/BB Code Sidebar Blocks' add-on, but it seems it only supports custom sidebars on forumhome. I might be wrong here though.

Any elegant ways of accomplishing this?
 

Chris D

XenForo developer
Staff member
#2
You just need to edit the necessary templates and put the desired content inside "<xen:sidebar>" tags, e.g.

HTML:
<xen:sidebar>
    This is sidebar content
</xen:sidebar>