Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Adding extra page

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-28-2003, 04:02 PM
 
Hugh Hugh is offline
 

Member
  
Join Date: Mar 2003
Posts: 18
 

Default 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
Reply With Quote
  #2  
Old 04-28-2003, 04:21 PM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

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"
Reply With Quote
  #3  
Old 04-28-2003, 05:12 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

check the FAQ in the xcart members area for help on adding extra pages or including others
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #4  
Old 04-28-2003, 06:24 PM
  kpriest's Avatar 
kpriest kpriest is offline
 

eXpert
  
Join Date: Apr 2003
Location: Seattle, WA
Posts: 263
 

Default

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020