Thread: Speedbar
View Single Post
  #4  
Old 11-13-2007, 03:24 AM
 
SRD SRD is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 88
 

Default Re: Speedbar

Bump.

My speedbar is not displaying at all.

I wanted to change how it displays, so I've edited customer\top_menu.tpl.

After making this change, the speedbar failed to display at all. Restoring a backup fails to fix this (which escapes any logic that I can see).

customer\home.tpl correctly includes customer\top_menu.tpl, and the debug console shows the file as being included properly also.

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}

It generates nothing if I place it directly in customer/home.tpl.

Ideas?
__________________
X-Cart version 4.4
PHP 5.2.5
MySQL 5.0.27
Reply With Quote