How to do a collapsible block for IP.Content that is remembered via cookie with IPB's default js.
First go to My Apps, IP.Content, Page Templates. Edit the default Page Template.
Find :
Then wrap all your blocks with this code. You will have to edit out the default block wrapper. Make a back up of your original blocks!
I am in the process of switching all my blocks to this, but as of now to see a demo, check out the Next Game block (Top Left) on my site.
First go to My Apps, IP.Content, Page Templates. Edit the default Page Template.
Find :
</head>Add Above (replacing PATHTOFORUM):
<script src="PATHTOFORUM/public/js/ips.board.js" type="text/javascript"<img src='http://www.codersrefuge.com/public/style_emoticons/<#EMO_DIR#>/pinch.gif' class='bbc_emoticon' alt='><' />/script>
Then wrap all your blocks with this code. You will have to edit out the default block wrapper. Make a back up of your original blocks!
<div class='category_block block_wrap'>
<h3 id='category_{$title}' class='maintitle'><a class='toggle right' href='#' title='{$this->lang->words['toggle_cat']}'>{$this->lang->words['toggle_cat']}{$title}</a>{$title}</h3>
<table class='ipb_table' summary="{$title}">
<tr>
<td>
YOUR BLOCK CONTENT HERE
</td>
</tr>
</table>
</div>I am in the process of switching all my blocks to this, but as of now to see a demo, check out the Next Game block (Top Left) on my site.











