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)
-   -   adding new help template (https://forum.x-cart.com/showthread.php?t=7783)

cotc2001 05-27-2004 06:15 AM

adding new help template
 
I know this must be easy so can anyone help.

I need to add a new template page under the help section called returns.tpl . so i've done this.

copied an existing template from the skin1/help folder and edited it to have the information I want

edited the menu_cart.tpl by adding this code
<font class="light">{$lng.lbl_refund}</font>

which should bring up that the page shouldn't it ?????

but it doesnt work for me, it brings up a deafult help page.

anyone know what im doing wrong ???

Mod King 05-27-2004 06:20 AM

You need to edit skin1/help/index.tpl

And add these lines to it

Code:

{elseif $section eq "returns"}
{include file="help/returns.tpl"}


Put it right before:
{else}
{include file="help/general.tpl"}
{/if}


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

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