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

johnnym59 12-12-2007 12:29 PM

help.tpl
 
1 Attachment(s)
I am tryimg to get help zone items listed on my site.
I have used the code below, but all I get is 3 of the 5 items.
As you can see in the attachment, the bullets are there.
I'm a newbie so bear with me, please.

The code: {capture name=menu}
{capture name=bullet}<a href="help.php?section=contactus&amp;mode=update" class="VertMenuItems">{$lng.lbl_contact_us}</a>{/capture}{include file="customer/main/bullet.tpl" content=$smarty.capture.bullet}
{capture name=bullet}<a href="help.php?section=business" class="VertMenuItems">{$lng.lbl_privacy_statement} </a>{/capture}{include file="customer/main/bullet.tpl" content=$smarty.capture.bullet}
{capture name=bullet}<a href="help.php?section=conditions" class="VertMenuItems">{$lng.lbl_terms_n_conditions }</a>{/capture}{include file="customer/main/bullet.tpl" content=$smarty.capture.bullet}
{capture name=bullet}<a href="help.php?section=FAQ" class="VertMenuItems">{$lng.lbl_FAQ}</a>{/capture}{include file="customer/main/bullet.tpl" content=$smarty.capture.bullet}
{capture name=bullet}<a href="help.php?section=Password_Recovery" class="VertMenuItems">{$lng.lbl_ Password_Recovery }</a>{/capture}{include file="customer/main/bullet.tpl" content=$smarty.capture.bullet}
{include file="pages_menu.tpl"}
{/capture}
{ include file="menu.tpl" dingbats="dingbats_help.gif" menu_title=$lng.lbl_help menu_content=$smarty.capture.menu link_href="help.php"}

Any help, (parden the pun) would be appreciated

balinor 12-12-2007 01:32 PM

Re: help.tpl
 
For the Pasword recovery, you have a couple extra spaces in the language variable, needt o remove those:

{$lng.lbl_ Password_Recovery }

should be

{$lng.lbl_Password_Recovery}

Is lbl_FAQ an existing language variable?

johnnym59 12-12-2007 04:03 PM

Re: help.tpl
 
All fixed, thanks for your help.

JVM


All times are GMT -8. The time now is 03:31 PM.

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