I am trying to add a new Б─°Help TopicБ─² to the VertMenuItems located on the left side of the home page. I have already moved to this location a few of the X-cart predefined topics such as: Б─°About our siteБ─² and Б─°FAQБ─², this was pretty easy to do.
But when I try to add a new topic like: Б─°Customers HorsesБ─², I am having a great deal of difficulty so say the least. Here is what I have done so far using in the Б─°AdminБ─² program.
1 Б─⌠ Created a new language variable and associated value:
variable -> lbl_customers_horses
value -> Customers Horses
2 Б─⌠ I edited the Б─°help.tplБ─² template and added this code:
{$lng.lbl_customers_horses}
3 Б─⌠ Now the new Help Topic, Б─°Customers HorsesБ─² appears in the left side VertMenuItems box.
4 Б─⌠ I copied the existing template file called -> /help/about.tpl and edited the code text and created a new template file called -> /help/customers_horses.tpl
Here is the new file with edited code:
{* $Id: customers_horses.tpl,v 1.6 2006/02/21 17:55:00 max Exp $ *}
{capture name=dialog}
{$lng.txt_horses}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_customers_horses content=$smarty.capture.dialog extra="width=100%"}
<p align="center">[b]<span style="font-family:Arial;color:black">Test for Customer's Horses Section, put rest of required information here!</p>
5 Б─⌠ Where and how do you define these items from the above two .tpl files? The <A href="help.php?section=horses" and {$lng.txt_horses} must be defined somewhere. How does "section=horses" know to load the customers_horses.tpl file?
Any help would be great since I am a new user to this group. Moe