Quote:
Originally Posted by SRD
the problem is that the smarty code below is not working
{section name=sb loop=$speed_bar}
{if $speed_bar[sb].active eq "YN"}
<TD width="14"><IMG src="{$ImagesDir}/speedbar_dividers.gif" width="14" height="14" border="0" alt=""></TD>
<TD valign="top"><A href="{$speed_bar[sb].link}"><strong><font color="#FFFFFF">{$speed_bar[sb].title}</font></strong></A></TD>
<TD width="8"><IMG src="{$ImagesDir}/spacer.gif" width="8" height="14" border="0" alt=""></TD>
{/if}
|
Where did you get this code? It's not 4.1.9 code. It's not xhtml.
1. There is no such tag as <TD> -- in 4.1.x (xhtml) all td tags should be: <td> (lowercase)
2. IMG -- same thing. lowercase. AND all images must have a closing />
Your first line should read:
Code:
<td width="14"><img src="{$ImagesDir}/speedbar_dividers.gif" width="14" height="14" border="0" alt="" /></td>
If this is a mod form version 4.0.x, you should update it. If this is 3rd party COMMERCIAL code, please name the person./company that sold it to you, since they have no business selling this code for 4.1.x