| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding Items to HELP section | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Adding Items to HELP section
Was not quite sure where to post this question, but Can someone please explain to me how the "Help" menu section works? I guess I should be a little more specific.
I have seen that the "Privacy Statement", and "Terms and Conditions" sections are text only unlike the "Contact Us" and "Recover Password" sectoins. I too have noticed that the "Contact Us" and "Recover Password" sections have their own form handelers in the help.php file. So where are the text for the other two sections getting set? How can I add my own section? Why does FAQ, seem to work when I add it, but "asdfasdf" does not? I know this is problaby a little more involved that just editing templates, but as stated before I did not know where to post this information. Thank You PHPDev |
|||||||
#2
|
|||||||||
|
|||||||||
1) edit help/general.tpl and add the following line:
How to shop {include file="buttons/go.tpl"} this is just a modified copy of another help section span. 2) edit help/index.tpl and add the new section template reference: {elseif $section eq "hts"} {include file="help/hts.tpl"} this is also a modified copy of another help section reference. 3) create the help/hts.tpl and write the text required. To make it fit into dialog use example from the help/about.tpl.
__________________
Web Design Web Design and Custom X-Cart Projects http://www.dataviking.com Mention the forums for discounts! x-cart Version 4.1.8 |
|||||||||
#3
|
|||||||
|
|||||||
I found this one quite by accident.
I have about 5 FAQ i wanted to add to that list....made sense to add the FAQ to the HELP section under terms and conditions (Edit Terms and conditions in LANGUAGES: TXT: search for "Privacy" and edit that text, search for "terms" and edit that text too for those two text sections) But to add additional FAQ...this was sooo easy. Go to your admin area and in the list underneath "edit templates" is a link for "embedded pages". Click that. Add new page...and add the html you want for the center column with the FAQ at the top of the list: Example: How fast do you ship? Answer: bla bla bla bla bla bla TITLE this page: Ship fast? Click SAVE/SUBMIT Wah-la! The page is now listed in the help section....and clicking on it shows a page that matches the store with the FAQ in the center column. No editing of templates..... It was so easy I happened on it by accident while trying to figure out "embedded pages". HTH
__________________
X-Cart 4.1.11 |
|||||||
#4
|
|||||||
|
|||||||
KathyHS,
I am running version 3.4.8, and I do not see a link anywhere under "Edit Templates" for Embeded Pages. Now I do see one for Help Files I am going to attempt BMAWORLD's solution for now. Thank you |
|||||||
#5
|
|||||||
|
|||||||
Okie, I wasn't clear....
In the same list as "EDIT TEMPLATES" is a link for STATIC PAGES. (Not within the edit templates...but in the same admin list on the right hand side of the page) Click that link...and then select ADD EMBEDDED PAGE You can add the text, change the title (starts off titled as PAGE 1) and when you save it...the title is now listed in the HELP section....
__________________
X-Cart 4.1.11 |
|||||||
#6
|
|||||||
|
|||||||
KathyHS,
Ahh ok I see it now... Ill have to give it a shot... How can I add these new items to the HELP Menu? Edit the help.tpl? Thank you for all your help... |
|||||||
#7
|
|||||||
|
|||||||
Its automatic. No editing of templates needed.
Just add an embedded page. Titie it what you want to appear in the HELP section: example: Payment Methods? and the title of your embedded page appears in the HELP section of customer directory...with the link all set up. Amazing, eh?
__________________
X-Cart 4.1.11 |
|||||||
|
|||
X-Cart forums © 2001-2020
|