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 extra page (https://forum.x-cart.com/showthread.php?t=2491)

Hugh 04-28-2003 04:02 PM

Adding extra page
 
My php skills are not the best and I am trying to customise my site.

I am trying to add an FAQ page and have a link to it in the help box on the left hand side of the page.

Where should I save the 'faq.tpl' and what value do I use for the hyperlink href?

I assume i then have to add a line to 'customer/home_main.tpl'.

Thanks,
Hugh

ETInteractive.com 04-28-2003 04:21 PM

there is an FAQ page already

in the skin1/customer/help folder

is FAQ.tpl or somethign like that.

your link would be "help.php?section=FAQ"

shan 04-28-2003 05:12 PM

check the FAQ in the xcart members area for help on adding extra pages or including others

kpriest 04-28-2003 06:24 PM

To use the existing FAQ, I believe youn need to edit the $lng.txt_faq in the languages section OR you could just modify the FAQ_HTML.tpl file from this:
Code:

{* $Id: FAQ_HTML.tpl,v 1.7 2002/05/21 10:04:09 lucky Exp $ *}
{capture name=dialog}
{$lng.txt_faq}
{/capture}
{include file="dialog.tpl" title=$lng.lbl_faq content=$smarty.capture.dialog extra="width=100%"}

To this:
Code:

{* $Id: FAQ_HTML.tpl,v 1.7 2002/05/21 10:04:09 lucky Exp $ *}
{capture name=dialog}
YOUR FAQ CONTENT HERE
{/capture}
{include file="dialog.tpl" title=$lng.lbl_faq content=$smarty.capture.dialog extra="width=100%"}


hope this helps


All times are GMT -8. The time now is 07:10 AM.

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