View Single Post
  #1  
Old 02-14-2008, 09:30 AM
 
shangara singh shangara singh is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 38
 

Default How can I add a new page to Help?

Hi -- I want to add a new Testimonials page to the Help box and edit it via languages. What I've done is create a new template testimionials.tpl in the Help dir. I opened it and added:
{* $Id: testimonials.tpl,v 1.9 2005/11/21 12:41:58 max Exp $ *}
<p />
{capture name=dialog}
{$lng.txt_testimonials}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_testimonials content=$smarty.capture.dialog extra='width="100%"'}

I also created a lbl_testimonials and txt_testimonials in languages. I then added following lines to Help.tpl
<a href="help.php?section=testimonials" class="VertMenuItems">{$lng.lbl_testimonials}</a><br />

However, when I click the Testimonials link, the Help Zone opens: http://www.examaids.com/e-cart/home.php

Help most certainly appreciated.
__________________
-------------------------
Shangara Singh
www.Examaids.com
X-Cart: Version 4.1.10
Reply With Quote