View Single Post
  #8  
Old 03-07-2006, 06:21 PM
 
Touchy Touchy is offline
 

Advanced Member
  
Join Date: Feb 2005
Location: USA
Posts: 49
 

Default Menu error

Hey guys,

I tried to include this mod on my site.

But when I go to change the label name to call out something different I get the following error when my home page loads.


Fatal error: Smarty error: [in customer/info.tpl line 5]: syntax error: invalid attribute name: '=' (Smarty_Compiler.class.php, line 1524) in /home/mysite/public_html/mysite/Smarty-2.6.9/Smarty.class.php on line 1088


My code that works from original help.tpl copy

{* $Id: extrainfo.tpl,v 1.19 2004/06/04 12:52:38 svowl Exp $ *}
{capture name=menu}
Extra Info

{/capture}
{ include file="menu.tpl" dingbats="dingbats_help.gif" menu_title=$lng.lbl_help menu_content=$smarty.capture.menu link_href=""}



Changed code to change name callout

{* $Id: extrainfo.tpl,v 1.19 2004/06/04 12:52:38 svowl Exp $ *}
{capture name=menu}
Extra Info

{/capture}
{ include file="menu.tpl" dingbats="dingbats_help.gif" menu_title=$lng.lbl_extrainfo=$smarty.capture.menu link_href=""}



The only thing I changed was the label callout. Any ideas why this would happen as when I change it back everything works OK.
__________________
Thanks,

Version 4.0.17
Reply With Quote