X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Want to add a "HOME" button (https://forum.x-cart.com/showthread.php?t=2118)

stackumhi 04-01-2003 10:41 AM

Want to add a "HOME" button
 
How would i add a "home" button under my Help menu that would return a visitor back to the home page?? I have tried to place the code in the customer/home.tpl . Is this the correct location??

Any help would be great.

Thank you,

Jsp

shan 04-01-2003 10:59 AM

I usually add one to the top of the categories.tpl

like this

Code:

{* $Id: categories.tpl,v 1.16 2002/10/21 07:06:43 zorg Exp $ *}
<TABLE border=0 cellPadding=5 cellSpacing=0 width=100%>
<TR>
<TD class=VertMenuTitle height=26 width=26 valign=center>[img]{$ImagesDir}/dingbats_categorie.gif[/img]</TD>
<TD class=VertMenuTitle height=26 valign=center width="80%"><FONT class=VertMenuTitle>{$lng.lbl_categories}</FONT></TD>
</TR>
<tr><td colspan=2 nowrap>

<font class=CategoriesList>Home</font><HR>

{if $config.General.root_categories eq "Y"}
{section name=cat_num loop=$categories}
<font class=CategoriesList>{ $categories[cat_num].category|escape }</font>

{/section}
{else} {section name=cat_num loop=$subcategories}
<font class=CategoriesList>{ $subcategories[cat_num].category|escape }</font>

{/section}
{/if}
</td></tr>
</TABLE>
       


stackumhi 04-01-2003 02:52 PM

thanks for your help!

jsp


All times are GMT -8. The time now is 01:57 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.