Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Need PHP in an EZpage. What override file can I put it in, and where?

Need PHP in an EZpage. What override file can I put it in, and where?

Started by donn on 29 Oct 2011, 1:50 PM · Views: 1,304

Results 1 to 3 of 3
29 Oct 2011, 1:50 PM
#1
donn avatar

donn

Zen Follower

Join Date:
Oct 2007
Posts:
241
Plugin Contributions:
0

Post #1 by donn

I created an E-Z Page that requires a bit of PHP code in order to work properly.

But..unlike the define pages...EZ pages don't seem able to accept PHP. (I could just make a new Define Page...which is a better idea, and why?)

I know that various override files and folders can be created as needed in ZC.

If I do decide to use the override instead of going the way of making a new define page...

Where do I place the new folder? What do I name it?
What file needs to be used as an override?

Thanks...

29 Oct 2011, 2:11 PM
#2
stevesh avatar

stevesh

Black Belt

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

Post #2 by stevesh

You can't place PHP in EZ pages without some effort. There's a (lengthy) thread here:

http://www.zen-cart.com/forum/showthread.php?t=37252

I'd probably create the new define page.

29 Oct 2011, 5:36 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,769
Plugin Contributions:
56

Post #3 by swguy

Start with the About Us contribution in the Free Software Add Ons.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.