Forums / General Questions / How do EZ-Pages work?

How do EZ-Pages work?

Views: 246,223

Results 561 to 570 of 570
25 Feb 2016, 7:39 PM
#561
kwright avatar

kwright

Zen Follower

Join Date:
Nov 2004
Posts:
355
Plugin Contributions:
0

How do EZ-Pages work?

I noticed a problem with ez-pages when configured to use an internal URL. When the ez-page link is generated within the header or footer, the link is correct and shows the internal URL.

However, if you access the ez-page directly via URL, is shows the ez-page with empty HTML content (because it is empty) and does not redirect to the internal URL.

example: ```
www.domain.com/index.php?main_page=page&id=10


What do you think?

Experience is what you get when you don’t get what you want…

23 Aug 2016, 6:17 AM
#562
zeemo avatar

zeemo

New Zenner

Join Date:
Aug 2016
Location:
Melbourne, Australia
Posts:
1
Plugin Contributions:
0

Re: How do EZ-Pages work?

Thank you for all the information here - I was able to build my first EZ page!! And it worked!

19 Mar 2017, 10:37 PM
#563
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: How do EZ-Pages work?

Cant seem to find the answer to my question.

Internal url link /index.php?main_page=index&cPath=16

Parses html as /index.php?main_page=index&cPath=16

which of course will not produce a page.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

19 Mar 2017, 10:41 PM
#564
swguy avatar

swguy

Administrator

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

Re: How do EZ-Pages work?

You are specifying the URL incorrectly. It should be more like

index.php?main_page=YOUR-NAME-FOR-THE-PAGE

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.

19 Mar 2017, 11:05 PM
#565
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How do EZ-Pages work?

pixelpadre:

Cant seem to find the answer to my question.

Internal url link /index.php?main_page=index&cPath=16

Parses html as /index.php?main_page=index&cPath=16

which of course will not produce a page.
I'm guessing you've got outdated Admin sanitizer code. There were a few iterations to it between v155 to v155e.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Mar 2017, 11:49 PM
#566
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: How do EZ-Pages work?

DrByte:

I'm guessing you've got outdated Admin sanitizer code. There were a few iterations to it between v155 to v155e.

V155e.

Fresh install.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

19 Mar 2017, 11:56 PM
#567
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: How do EZ-Pages work?

External link parses correctly.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

20 Mar 2017, 12:01 AM
#568
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: How do EZ-Pages work?

I stand corrected v155d

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!

20 Mar 2017, 3:19 AM
#569
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: How do EZ-Pages work?

I have a fresh brand new v1.5.5e install I just set up.

I went to admin ez-pages, and created a new page, and put in the internal link of:

/index.php?main_page=index&cPath=16

and clicked Save.

The link works fine on storefront.

Then went back into admin ez-pages, and clicked edit. Link appears correct. Clicked save. Saved properly, no re-encoding. Link works fine on storefront.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Mar 2017, 11:19 AM
#570
pixelpadre avatar

pixelpadre

Suspended

Join Date:
Jun 2007
Location:
Eustis, Florida, USA, EARTH
Posts:
868
Plugin Contributions:
0

Re: How do EZ-Pages work?

OK, I will have to upgrade to e at some point. Thanks.

ZC v1.5.7 "I was so much older then...I'm younger than that now" Cut the umbilical cord with webhosts after 20 years. FREEDOM!