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

Adding sidebar

Spenser

Active member
#1
As there is no global announcement system in xenForo that I was able to find I want to add an additional sidebar that contains a link to the announcement.
Is there an easy way to add a sidebar?
 

Spenser

Active member
#3
Ah, ok.

Thank you for that. You are right, I want to add a new block.

And how do I set the new sidebar to a specific position? Say, between "User Information" and "Members Online"?
 

RobParker

Well-known member
#6
Is it just this in pagecontainer?

Code:
                <aside>
                    <div class="sidebar">
                        <xen:hook name="page_container_sidebar">
                        <xen:include template="ad_sidebar_top" />
                        <xen:if is="!{$noVisitorPanel}"><xen:include template="sidebar_visitor_panel" /></xen:if>
                        {xen:raw $sidebar}
                        <xen:include template="ad_sidebar_bottom" />
                        </xen:hook>
                    </div>
                </aside>
 

Brogan

XenForo moderator
Staff member
#7
If you want it on all pages, yes.

If just on the main forum home page then you can use the forum_list template.