View Single Post
  #4  
Old 08-08-2005, 08:21 AM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default Re: custome text button link to another page

Quote:
Originally Posted by mmoskva
I am trying to create a text button link that will direct the user to another page.

I try entering this code into my head.tpl below the customer/top_menu.tpl tag but I keep gettin a smarty error and nothing loads. Don't understand?

code:
<TD valign="top" align="right">
{if $usertype eq "C"}
{include file="customer/top_menu.tpl"}
{/if}

{ {$lng.lbl_Login}}
</TD>

Thanks for the help.

Here is the correct code..
Code:
<TD valign="top" align="right"> {if $usertype eq "C"} {include file="customer/top_menu.tpl"} {/if} {$lng.lbl_Login} </TD>

Balinor is right and he suggested to remove only the braces. He did't suggest to replace the complete code with he has provided.
Reply With Quote