Forums / Customization from the Admin / How are these areas related?

How are these areas related?

Started by jghogue on 14 Nov 2011, 1:04 PM · Views: 675

Results 1 to 6 of 6
14 Nov 2011, 1:04 PM
#1
jghogue avatar

jghogue

New Zenner

Join Date:
Oct 2011
Posts:
35
Plugin Contributions:
0

How are these areas related?

Could someone supply a brief explanation on how the following aresa are related?

admin>config>define page status

admin>tools>ex-pages

admin>tools>define pages editor

14 Nov 2011, 1:51 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: How are these areas related?

Define Page Status determines whether the define pages and/or their links display.

Define Pages Editor allows you to edit the define pages - to see a list of the pages, click on the dropdown. These are the pages whose files are in includes/languages/english/html_includes/YOUR_TEMPLATE.

Admin - Tools - EZ Pages is where you create and set the display options for your EZ pages.

https://www.zen-cart.com/tutorials/index.php?article=117

14 Nov 2011, 2:17 PM
#3
jghogue avatar

jghogue

New Zenner

Join Date:
Oct 2011
Posts:
35
Plugin Contributions:
0

Re: How are these areas related?

Does Define Pages include Ez-pages or are they separate entities?

14 Nov 2011, 2:36 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How are these areas related?

Completely separate. Define pages are regular Zen Cart pages with several PHP files associated, and entries in page registries, etc. EZ-Pages are just HTML content stored in the database, and output according to some admin settings.

14 Nov 2011, 2:43 PM
#5
jghogue avatar

jghogue

New Zenner

Join Date:
Oct 2011
Posts:
35
Plugin Contributions:
0

Re: How are these areas related?

Are there advantages of using one type over the other?

14 Nov 2011, 2:55 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How are these areas related?

A define page has its own URL and can handle PHP processing, but it is relatively complex to create (about 8 new files or file edits required). An ez-page is very fast and easy to create, but does not have a distinct "meaningful" URL, and cannot handle PHP.