Zen Cart Logo
Forums / General Questions / Display EZ-Pages from a page other than index.php?

Display EZ-Pages from a page other than index.php?

Views: 904

Results 1 to 6 of 6
5 Sep 2011, 11:54 PM
#1
alin avatar

alin

New Zenner

Join Date:
Sep 2011
Posts:
18
Plugin Contributions:
0

Display EZ-Pages from a page other than index.php?

Hello,

I'm setting up a new site for a client, using Zen Cart version 1.3.9h, and I have an unusual request:

The client has a tackle store and a tour site that they wish to display side-by-side. In order to maintain the look and feel of the site throughout, I am in the process of hacking together a tours.php that replicates much of the index.php content.

Basically, I'd like to have the tours.php display the EZ Page content in the same way, since it's the same formatting as index.php (with only minor adjustments). Since the original display is just plugging in include functions into index.php, I imagine those could just be pointed to tours.php instead. I just can't for the life of me figure out how to do that.

Any help would be greatly appreciated. Thanks in advance. :)

  • Alin
6 Sep 2011, 10:48 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Display EZ-Pages from a page other than index.php?

I'm not a coder, but what do you mean by 'side-by-side' in this context ? There may be an easier way to do what you want.

6 Sep 2011, 2:24 PM
#3
alin avatar

alin

New Zenner

Join Date:
Sep 2011
Posts:
18
Plugin Contributions:
0

Re: Display EZ-Pages from a page other than index.php?

I apologize for not making that more clear. Instead of going straight to the Zen Cart index.php, my site will be going to a welcome page first. A large Tackle link takes them to Zen Cart's index.php, and the Tours link takes them to tours.php.

6 Sep 2011, 3:31 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Display EZ-Pages from a page other than index.php?

Depending on your server configuration, you should be able to create the landing page with links to Zencart and Tours, name it index.html and put it in the site root. Are the tours files in the root with Zencart ?

6 Sep 2011, 11:54 PM
#5
alin avatar

alin

New Zenner

Join Date:
Sep 2011
Posts:
18
Plugin Contributions:
0

Re: Display EZ-Pages from a page other than index.php?

My landing page isn't the issue; I have that set up, and it'll work fine. I need my tours.php to be able to display EZ Pages in the same way that the index.php does by default.

8 Sep 2011, 3:30 AM
#6
alin avatar

alin

New Zenner

Join Date:
Sep 2011
Posts:
18
Plugin Contributions:
0

Re: Display EZ-Pages from a page other than index.php?

Bump. Please help - I'm stumped, and my client needs this. :unsure: