1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. If you want premium products then purchase our VIP or SVIP plans
  3. Dont forget read our rules HERE Also anyone caught Leeching this content or Scamming will be banned on numerous networks.
    Dismiss Notice
  4. Dont forget we do not allow Multiple Accounts, so all of your accounts as well as your IP will be banned.
    Dismiss Notice
  5. Tired of Download Limits ? UPGRADE Today!
    Dismiss Notice

FREE Add custom sidebar block

Discussion in 'Xenforo Template Mods & Extras' started by HAWK, Mar 22, 2016.

  1. HAWK

    HAWK Administrator Staff Member ADMIN

    Likes Received:
    1,932
    Trophy Points:
    113
    I figured this would be complicated, but it's actually a pretty easy edit to make. :D I didn't already see a guide for this, so:

    1. Make a custom template (any title is fine):
    Code:
    <div class="section">
        <div class="secondaryContent">
    <h3>TITLE</h3>
    TEXT INSIDE
        </div>
    </div>
    2. Open template PAGE_CONTAINER and find {xen:raw $sidebar}. Just below that (before the closing div tag), add:
    Code:
    <xen:include template="name_of_your_custom_template" />
    That should be it!
    The block will appear at the bottom of the sidebar. If you want it to appear just below the visitor_panel block, but above the Staff/Members Online Now blocks, move the xen:include tag one line up, above {xen:raw $sidebar}
     

Share This Page