Thread: Speedbar
View Single Post
  #7  
Old 11-13-2007, 06:20 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Speedbar

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
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote