Sign in to follow this  
Followers 0

3.2.x Add one or more custom block in sidebar


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.invisionpower.com/files/file/2447-e32-custom-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 [b]above[/b] all, and one or more [b]below[/b] all.

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

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


and add BEFORE and or AFTER:

[code]
<!-- 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 -->
[/code]

:)



0 Comments

There are no comments to display.