X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Create Extra Info Pages (https://forum.x-cart.com/showthread.php?t=4037)

japanchick 08-18-2003 08:51 AM

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

John7 08-19-2003 08:32 PM

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

japanchick 08-23-2003 01:10 PM

Thanks
 
hey john,

thanks for help - it works perfectly =D

lizlarry 09-02-2003 02:48 PM

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

lizlarry 09-02-2003 02:54 PM

I just found a solution to my question over in the Forum FAQ section. Sorry to bother.
Liz


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

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