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)
-   -   How to add additional menus on the left side cust navigation (https://forum.x-cart.com/showthread.php?t=21986)

athenarchiver 05-22-2006 10:29 AM

How to add additional menus on the left side cust navigation
 
Sorry if this is "too easy" but I'm learning and I thought I'd share:

To add additional menus on the left side of the customer navigation, edit the /customer/home.tpl and add a new line right under the last menu:

Code:

{include file="help.tpl" }

{include file="customer/test_drive.tpl" } <----here

[img]{$ImagesDir}/spacer.gif[/img]


Next create a new file called test_drive.tpl in the customer directory. Inside it put the following code:

Code:

{* $Id: categories.tpl,v 1.26 2005/11/17 06:55:37 max Exp $ *}
{capture name=menu}


<font class="CategoriesList"></font>


{ include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title="Test Drive!"
menu_content='30-Day Free Trial'
cellpadding=$fc_cellpadding}


For the menu_title, replace it with whatever you want the window to be called. For the content add as many links as you want using this format separated by
and make sure to stay inside the single quotation marks:


balinor 05-22-2006 10:45 AM

Thanks for sharing...someone just posted a guide for this a little while back:

http://forum.x-cart.com/viewtopic.php?t=26490


All times are GMT -8. The time now is 01:30 AM.

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