Thread: Help area Help
View Single Post
  #2  
Old 03-24-2007, 12:53 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Help area Help

Quote:
I sure wish someone would make X-Cart for dummies
Michelle, so much of what you need is right in front of you... I'll show you...

You want to ignore the entire Help menu, and instead insert your static pages there. so -- figure out what is making the help menu -- if you use WEBMASTER MODE, you'll see that in /customer/home.tpl, there is a call to file, help.tpl -- let's take a look at help.tpl

You'll see a {capture name=menu}
then a few hard coded links
then a file include "pages_menu.tpl"
then a close tag for the {/capture}
then an include to make the menu

SO -- first, comment out the static pages -- you're half way home

2. See where the include for pages_menu.tpl is? That's the key to your embedded pages. Basically, this template takes your static embedded pages and lists them in the help menu.

3. Want to change the name of the help menu? In the help.tpl, see where it says, "menu_title=$lng.lbl_help" -- that's the name of your menu. If you change lbl_help in your languages, this will change... but why bother doing that? Just change the template. menu_title="Your Groovy Menu Name"

What else? All you have to do is start with webmaster mode and work your way through the insanity of the nested files. WRITE IT DOWN and make a flowchart of what lives where... it will simplify your xcart life. Otherwise, you will be poking around hours at a time...

Hope this wasn't too basic.

Good luck.

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote