Jump to content


Welcome to DevFuse Forums


Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
 
Guest Message by DevFuse

Tutorial info Visit support topic

  • Added on: Nov 07 2011 01:47 AM
  • Views: 11154
 


3.2.x Add one or more custom block in sidebar

Posted by najaru on Nov 07 2011 01:47 AM
As you all know you can add some automatic or custom content in the sidebar of the board index of IPB 3.2
To insert new custom blocks you can use the classical (e32)Custom Sidebar Blocks 1.5.0 http://community.inv...sidebar-blocks/ that allows you to insert one or more custom blocks in sidebar, but all these will be displayed next to each other, and not interspaced with other automatic blocks.
With a manual edit of template you can put at least another 2 blocks, one or more blocks in the sidebar above all, and one or more below all.

Look&Feel - Manage Skin Sets & Templates - your skin - boardindexTemplate

Findi this:
   		    <foreach loop="side_blocks:$side_blocks as $block">
                {$block}
            </foreach>


and add BEFORE and or AFTER:

<!-- SIDEBAR BLOCK MANUAL BEGIN -->
<div class='ipsSideBlock clearfix'>
    <h3>TITLE</h3>
    <div class='_sbcollapsable'>
        MESSAGGIO HTML  MESSAGGIO HTML MESSAGGIO HTML
    </div>
</div>
<!-- SIDEBAR BLOCK MANUAL END -->

:)

Powered by Tutorials 1.5.1 © 2016, by Michael McCune