Quote:
Originally Posted by Yang Xu
1. Create a file: customer/speed_menu.tpl
{if $printable ne ''}
{include file="customer/top_menu_printable.tpl"}
{else}
<TABLE border="0" cellpadding="0" cellspacing="0">
{if $speed_bar}
<TR>
<td height="22" valign="middle" class="TabBar">|</td>
{section name=sb loop=$speed_bar}
{if $speed_bar[sb].active eq "Y"}
<TD>{include file="customer/tab.tpl" tab_title="<A href=\"`$speed_bar[sb].link`\"><font class=TabFo\
nt>`$speed_bar[sb].title`</font></A>"}</TD>
{/if}
{/section}
</TR>
{/if}
</TABLE>
{/if}
|
Hello Yang Xu
I tried this and now have nothing on my page but this error message:
Fatal error: Smarty error: [in customer/speed_menu.tpl line 10]: syntax error: invalid attribute name: '`$speed_bar[sb].link`\' (Smarty_Compiler.class.php, line 1524) in
/home/naturesp/public_html/store/Smarty-2.6.9/Smarty.class.php on line
1088
I copied and pasted the text directly into the newly created file so I'm very puzzled by the error message.
I look forward to your response as I'm a newby with plenty to learn, and eager to get on with perfecting my site.
With thanks in advance,
Xeen