| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
I am stumped trying to make a new "help" file | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am trying to add a help file button called secure ordering.
1. I created a new file called secureordering.tpl in the help folder 2. code contains: {* $Id: secureordering.tpl,v 1.6 2002/05/20 06:55:20 lucky Exp $ *} {capture name=dialog} Here's all the details about our secure ordering!! {/capture} {include file="dialog.tpl" title="Secure Ordering" content=$smarty.capture.dialog extra="width=100%"} 3. in help.tpl I added the code: {$lng.lbl_secureordering} The error I receive is: Warning: Smarty error: unable to read template resource: "help/secureordering.tpl " in /usr/www/users/bosmed/cart/xcart/Smarty-2.3.0/Smarty.class.php on line 589 any help would be most appreciated. Liz |
|||||||
#2
|
|||||||
|
|||||||
![]() make a file called secureordering.tpl and put it in the /help template dir and in the secureordering.tpl file it should say
{* $Id: secureordering.tpl,v 1.5 2003/08/23 06:55:20 lucky Exp $ *} {capture name=dialog} {$lng.txt_secureordering} {/capture} {include file="dialog.tpl" title=$lng.lbl_secureordering content=$smarty.capture.dialog extra="width=100%"} then make a txt_secureordering file in the text section admin languages section and copy & paste whatever html code you want into this txt_secureordering file then in /help/index.tpl you need to add {elseif $section eq "secureordering"} {include file="help/secureordering.tpl"} and it should work, let us know, the url path would look similar to yourstore.com/customer/help.php?section=secureordering |
|||||||
#3
|
|||||||
|
|||||||
![]() The url seems to be okay...and I followed your instructions....
still doesn't work, however... Does the error message give any clues? Warning: Smarty error: unable to read template resource: "help/secureordering.tpl " in /usr/www/users/bosmed/cart/xcart/Smarty-2.3.0/Smarty.class.php on line 589 |
|||||||
#4
|
|||||||
|
|||||||
![]() I finally got it to work.
thanks for your help. Liz |
|||||||
|
|||
X-Cart forums © 2001-2020
|