Quote:
Originally Posted by mikkitine
Okay, cheers.
|
I'm just going to copy paste what i've done and put on bold what you have to add and you can play around with it. I did it real fast but i've edited my template so much that i'm not even sure anymore how the originals are.
1. It was originally this : <a name="post$post[postid]">
Posted : $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
But i had to change it to
Post title or else when you collapse it you would only see the date
2. This is the image that shows collapse. You can probably edit the image itself to say collapse like on .org if you want. YOu can move it around to place it exactly where you want
3. Just add what i've put there and that's it.
Play around with it to make it look exactly the way you want.
Code:
$template_hook[postbit_start]
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-right: 0px" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]">
$post[title]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal; border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 0px" align="$stylevar[right]">
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a>
</if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('chiefpostbit')"><img id="collapseimg_chiefpostbit" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_chiefpostbit].gif" alt="" border="0" /></a>
</td>
</tr>
</tbody>
<tbody id="collapseobj_chiefpostbit" style="$vbcollapse[collapseobj_chiefpostbit]">
<tr valign="top">