Template Code: postbit or w/e
HTML Code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('groupbit_$post[postid]')"><img id="collapseimg_groupbit_$post[postid]" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_groupid}.gif" alt="" border="0" /></a></div>
Test
</td>
</tr>
</tbody>
<tbody id="collapseobj_groupbit_$post[postid]" style="$collapseobj_groupid">
<tr>
<td class="alt1">Test</td>
</tr>
</tbody>
</table>
Hook Location : postbit_display_complete
PHP Code:
// collapse/expand fields in a group
global $vbcollapse;
$groupid = $post['postid'];
$collapseobj_groupid =& $vbcollapse["collapseobj_groupbit_$groupid"];
$collapseimg_groupid =& $vbcollapse["collapseimg_groupbit_$groupid"];
$show['collapsebutton'] = true;