Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

adding new help template

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-27-2004, 06:15 AM
 
cotc2001 cotc2001 is offline
 

X-Man
  
Join Date: Feb 2003
Location: Shrewsbury, UK
Posts: 2,351
 

Default 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 ???
__________________
x-cart 4.0.5 (live and heavily modded)
Server: freebsd
Reply With Quote
  #2  
Old 05-27-2004, 06:20 AM
 
Mod King Mod King is offline
 

Senior Member
  
Join Date: May 2004
Posts: 115
 

Default

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}
__________________
Mod King
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:52 PM.

   

 
X-Cart forums © 2001-2020