View Single Post
  #2  
Old 02-27-2003, 02:58 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Here you go,

create your new help file and save it in skin1/help, lets call it mynewfile.tpl and add the content as follows....

Code:
{* $Id: mynewfile.tpl,v 1.10 2002/10/22 12:25:54 alfiya Exp $ *} {capture name=dialog} ADD YOUR NEW CONTENT HERE {/capture} {include file="dialog.tpl" title="My New File Title Here" content=$smarty.capture.dialog extra="width=100%"}

dont forget to change the title etc

Next, open up skin1/help/index.tpl and replace

Code:
[code]{elseif $section eq "publicity"} {include file="help/publicity.tpl"}[/code]

with this ...

Code:
{elseif $section eq "publicity"} {include file="help/publicity.tpl"} {elseif $section eq "mynewfile"} {include file="help/mynewfile.tpl"}

in other words, add a new elseif section to show your new file if requested.

Next, open up skin1/help.tpl and add the link to your new page along with the other links


And that should be about it. Just change every instance of mynewfile for whatever you want it to be and change the titles and link text and you should be ok.

Ive not tested this just written off the top of my head so let me know how you get on...
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote