stevo_s
04-16-2011, 10:24 AM
Hi - I'm trying to get this sticky background CSS color change in 3.8 postbit template to work but am getting errors of wrong formatting
replacing
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]">
with
<!-- sticky-->
<if condition="$thread['sticky']+==+1">
<td class="stickybg" id="td_title_$thread[realthreadid]" title="$thread[preview]">
<else />
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]"> </if>
<!-- stickyend-->
The instructions here (https://vborg.vbsupport.ru/showthread.php?t=171266) must be wrong for 3.8 as my original template has
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]">
not
<td+class="alt1"+id="td_threadtitle_$thread[realthreadid]"+title="$thread[preview]">+
--------------- Added 1302954972 at 1302954972 ---------------
got it -
this one works ok
https://vborg.vbsupport.ru/showthread.php?t=105597
replacing
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]">
with
<!-- sticky-->
<if condition="$thread['sticky']+==+1">
<td class="stickybg" id="td_title_$thread[realthreadid]" title="$thread[preview]">
<else />
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]"> </if>
<!-- stickyend-->
The instructions here (https://vborg.vbsupport.ru/showthread.php?t=171266) must be wrong for 3.8 as my original template has
<td class="alt1" id="td_title_$thread[realthreadid]" title="$thread[preview]">
not
<td+class="alt1"+id="td_threadtitle_$thread[realthreadid]"+title="$thread[preview]">+
--------------- Added 1302954972 at 1302954972 ---------------
got it -
this one works ok
https://vborg.vbsupport.ru/showthread.php?t=105597