1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Please donate today & help us with our growing server costs or buy premium for access to our premium products
    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:
    580
    Trophy Points:
    113
    Gender:
    Male
    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