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)
-   -   Adding Items to HELP section (https://forum.x-cart.com/showthread.php?t=5337)

PHPdev 11-25-2003 11:45 AM

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

DataViking 11-25-2003 08:27 PM

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.

KathyHS 11-26-2003 05:12 AM

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

PHPdev 11-26-2003 06:29 AM

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

KathyHS 11-26-2003 06:33 AM

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....

PHPdev 11-26-2003 07:14 AM

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...

KathyHS 11-26-2003 07:29 AM

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?


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

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