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

Adding an "About Us" page in older Version

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-27-2003, 01:51 PM
 
denyse denyse is offline
 

Newbie
  
Join Date: Apr 2003
Location: USA
Posts: 1
 

Default Adding an "About Us" page in older Version

I have an older version of x-cart gold (purchased 10/02). It doesn't have the "static pages" feature. I just want to create a few info pages in the category menu; such as about us, homeparties, etc. How can I go about this?FYI-I have basic HTML & PHP knowlege. Please dumb-up your answer so I will understand. Thanks
__________________
Denyse
Reply With Quote
  #2  
Old 10-28-2003, 01:35 PM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default

K say you want a page called about us.

Make a template in lets say skin1/help since that is where current versions have their templates like this.

call this template aboutus.tpl put your table tag in the file.

Now add this to index.tpl in the skin1/help folder:

{elseif $section eq "aboutus"}
{include file="help/aboutus.tpl"}

So now add a button somewhere where you want them to click on to go to the about us page.

So the link would be. About Us

This would keep the page to pop up into the main page of your website. If you dont want it to do that and to pop up on its own then just have it link to an html file and put a _blank target in the link tag.

Hope I didnt forget anything, been awhile since I did this.
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 09:59 AM.

   

 
X-Cart forums © 2001-2020