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

Create Extra Info Pages

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 08-18-2003, 08:51 AM
 
japanchick japanchick is offline
 

Advanced Member
  
Join Date: Oct 2002
Posts: 64
 

Default Create Extra Info Pages

Hi Guys,

The info on how to create extra info pages was posted on the FAQ before, but now its disappeared and I cant find out....ive also tried to search this forum but I aint getting anythin...
so if one of you fellow Xcarters could help me out that'd be great....I'd like to create some extra info pages...

For example, on my home page : http://www.glamour-hut.com/ghshop/customer/home.php

I would like to create a page that lists all my categories, when a person clicks on "shop"...

Thanks for your help!

Cheers,

Japanchick
Reply With Quote
  #2  
Old 08-19-2003, 08:32 PM
 
John7 John7 is offline
 

Senior Member
  
Join Date: Jan 2003
Posts: 136
 

Default

I dont know where the post is but here is an example of what you need to do.

Create a file called extrainfo.tpl in your skin1/customer/main/ directory.

Here is some sample code for your extrainfo.tpl file:
Code:
{ include file="location.tpl" last_location="Extra Info"} {capture name=dialog} {/capture} { include file="dialog.tpl" title="Extra Info" content=$smarty.capture.dialog extra="width=100%"}

Then go into skin1/customer/ and open the file home_main.tpl then insert these two lines of code
Code:
{elseif $smarty.get.mode eq "extra"} {include file="customer/main/extrainfo.tpl"}


Then you can create a hyperlink as such
Code:
http://www.yoursite.com/yourlink/customer/home.php?mode=extra

This should get you started. Sincererly, John7
Reply With Quote
  #3  
Old 08-23-2003, 01:10 PM
 
japanchick japanchick is offline
 

Advanced Member
  
Join Date: Oct 2002
Posts: 64
 

Default Thanks

hey john,

thanks for help - it works perfectly =D
Reply With Quote
  #4  
Old 09-02-2003, 02:48 PM
 
lizlarry lizlarry is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 45
 

Default

Thanks to the above info, I was able to create some pages with extra information for my client. He wanted a "links" page, an "education" page and so on.

Now, he would like to edit these pages in Dreamweaver. Is there any way to set that up easily?
thanks,
Liz
Reply With Quote
  #5  
Old 09-02-2003, 02:54 PM
 
lizlarry lizlarry is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 45
 

Default

I just found a solution to my question over in the Forum FAQ section. Sorry to bother.
Liz
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:00 AM.

   

 
X-Cart forums © 2001-2020