Log in

View Full Version : Whats wrong with my code its not working


bigs15
10-11-2012, 04:48 PM
<td class="forumTBg">

<div style="padding-left: 41px; color: #FFF;" class="smallfont">

<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
<if condition="!$show['announcement']">
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
<else />
<phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</div>
</td>
<td class="forumCBg">

&nbsp;

</td>



<td style="width:12px;"><img src="http://site.com/images/1434/misc/forumtr.jpg" alt="" /></td>


</tr>

</table>


When i used this code in my local host it works fine ...but when i used in my cpanel (real site) its not working whtas the problem...
i checked the source of the page after inserting in postbit .Its does not show the
<td class="forumCBg">
<td class="forumTBg">
.But in local host it show how to solve it?

Simon Lloyd
10-11-2012, 05:52 PM
If you cannot view it in source then it's either not been overwritten in place of the code you replaced it for, you're viewing a cached view (press Ctrl+F5 to clear cache for that page) or your actually viewing the file in a different location than you think it is.

bigs15
10-11-2012, 06:00 PM
nope i checkd it i cleared my cache and i tried ccleaner too...its not showing but when i used in local host it works fine :(

Simon Lloyd
10-11-2012, 06:05 PM
Have you made sure that you have copied the css over for the classes? is your image path correct?

bigs15
10-11-2012, 06:11 PM
its the default css which is already in Additional CSS Definitions..i am just using it in postbit....

edit: i tried in postbit_legacy it show in source but it looks ugly ..any solution

Simon Lloyd
10-11-2012, 06:59 PM
Link?

kpmedia
10-14-2012, 08:45 PM
Are you sure that there's not a server cache? Varnish, an opcode cache, memcache, etc?
Changes are often not instant on heavily cached servers.