PDA

View Full Version : modifcation help =(


owner
11-26-2004, 07:19 PM
ok i should no what to do but im kinda lost here im adding this thing where it seperates the stickys from the regular Topics and here it what it says

Styles & Templates -> Style Manager -> ? ? -> Forum Display Templates -> FORUMDISPLAY

Find this code and remove the code in green:


<if condition="$show['threads']">
<!-- show threads -->
<if condition="$show['stickies']">
$threadbits_sticky
<!-- <tr><td class="thead" colspan="<if condition="$show['threadicons']">6<else />5</if>">&nbsp;</td></tr> -->
</if>
$threadbits
<!-- end show threads -->
<else />


and this is what i have under my style

<table class='tborder' cellpadding='$stylevar[cellpadding]' cellspacing='$stylevar[cellspacing]' border='0' width='100%'>
$announcebits
<tr>
<if condition="$show['threadicons']"><td class='thead' colspan='2'>&nbsp;</td><else /><td class='thead'>&nbsp;</td></if>
<td class='thead' width='100%'><if condition="$show['threadratings']"><span style='float:$stylevar[right]'><a href="$sorturl&amp;order=desc&amp;sort=voteavg">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if><a href="$sorturl&amp;order=asc&amp;sort=title">$vbphrase[thread]</a> $sortarrow[title] /<a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]</td>
<td style='white-space : nowrap' class='thead' width='150' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
<td style='white-space : nowrap' class='thead' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
<td style='white-space : nowrap' class='thead' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a> $sortarrow[views]</span></td>
</tr>
<if condition="$show['threads']"><if condition="$show['stickies']">$threadbits_sticky</if>
$threadbits
<else /><tr>

Morwyn
11-26-2004, 07:52 PM
Ok, looks like to me that in the code you have in the frame, right before '$threadbits' (at the end of the code in ur template) you have to add this line of code:

<tr><td class="thead" colspan="<if condition="$show['threadicons']">6<else />5</if>">&nbsp;</td></tr>

Meaning the code you pasted would look like that:

<table class='tborder' cellpadding='$stylevar[cellpadding]' cellspacing='$stylevar[cellspacing]' border='0' width='100%'>
$announcebits
<tr>
<if condition="$show['threadicons']"><td class='thead' colspan='2'>&nbsp;</td><else /><td class='thead'>&nbsp;</td></if>
<td class='thead' width='100%'><if condition="$show['threadratings']"><span style='float:$stylevar[right]'><a href="$sorturl&amp;order=desc&amp;sort=voteavg">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if><a href="$sorturl&amp;order=asc&amp;sort=title">$vbphrase[thread]</a> $sortarrow[title] /<a href="$sorturl&amp;order=asc&amp;sort=postusername">$vbphrase[thread_starter]</a> $sortarrow[postusername]</td>
<td style='white-space : nowrap' class='thead' width='150' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=lastpost">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
<td style='white-space : nowrap' class='thead' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=replycount">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
<td style='white-space : nowrap' class='thead' align='center'><span style='white-space : nowrap'><a href="$sorturl&amp;order=desc&amp;sort=views">$vbphrase[views]</a> $sortarrow[views]</span></td>
</tr>
<if condition="$show['threads']"><if condition="$show['stickies']">$threadbits_sticky
<tr><td class="thead" colspan="<if condition="$show['threadicons']">6<else />5</if>">&nbsp;</td></tr>
</if>
$threadbits
<else /><tr>

See the big line ? that's what u gotta add, or u can copy and paste the code I just put.
When they say remove the green code, it's because of <!-- --> tags that are used to comment only.

owner
11-26-2004, 08:01 PM
oooo god i should of known that =( but jeese not i feel really stupid lol but anyways thanxs alot ;) :D it worked :D

Morwyn
11-27-2004, 07:22 PM
You're welcome ^_^