Zen Cart Logo
Forums / General Questions / How do EZ-Pages work?

How do EZ-Pages work?

Views: 245,851

Results 501 to 520 of 570
7 May 2013, 2:22 PM
#501
gjh42 avatar

gjh42

Black Belt

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

How do EZ-Pages work?

Can we see the site that has the issue? These are all ez-pages with text content? You say you have all menu settings "off"... how do you access the pages in the chapter?

7 May 2013, 2:31 PM
#502
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: How do EZ-Pages work?

Kevin205:

I am tying to get a Table of contents for the following pages:
ID=19 Chapter 100, TOC 10 - How To Do Things?
ID=20 Chapter 100, TOC 20 - How To Do A?
ID=21 Chapter 100, TOC 30 - How To Do B?
ID=22 Chapter 100, TOC 40 - How To Do C?

Parameters set are:
Open New Window: Off, Page is SSL: OFF, Header: OFF, Sidebox: OFF and Footer: OFF
admin > Configuration > EZ-Pages Settings > EZ-Pages Table of Contents for Chapters Status is set yo 1.

I am not getting the Table of contents. Is there another setting that has to be turned on?

gjh42:

Can we see the site that has the issue? These are all ez-pages with text content? You say you have all menu settings "off"... how do you access the pages in the chapter?

Thank you for the reply.

It would be directed from within another page through the following link / path.

index.php?main_page=page&id=19

10 May 2013, 3:32 AM
#503
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: How do EZ-Pages work?

bump. What am I doing wrong?

10 May 2013, 5:55 AM
#504
gjh42 avatar

gjh42

Black Belt

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

Re: How do EZ-Pages work?

We need to see the site to be sure of its setup. We can't tell what is wrong otherwise.

So ez-page id 19 has different settings, with at least one of the menu settings on, and a sort order for it?

You say you have a chapter number and sort order for each of your ez-pages; do you have "TOC:" set to "Yes" for each of them?

ID=19 Chapter 100, TOC 10 - How To Do Things?
ID=20 Chapter 100, TOC 20 - How To Do A?
ID=21 Chapter 100, TOC 30 - How To Do B?
ID=22 Chapter 100, TOC 40 - How To Do C?

10 May 2013, 6:07 AM
#505
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: How do EZ-Pages work?

gjh42:

We need to see the site to be sure of its setup. We can't tell what is wrong otherwise.

So ez-page id 19 has different settings, with at least one of the menu settings on, and a sort order for it?

You say you have a chapter number and sort order for each of your ez-pages; do you have "TOC:" set to "Yes" for each of them?

Of course TOC for all are set to yes. But all the others are off.

10 May 2013, 6:12 AM
#506
gjh42 avatar

gjh42

Black Belt

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

Re: How do EZ-Pages work?

You still haven't let us see the site...

10 May 2013, 1:57 PM
#507
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: How do EZ-Pages work?

gjh42:

You still haven't let us see the site...

I would show you the site if it was live. It is on a local test pc.

To access main FAQs page I use the following hyperlink from the contact page. But I get no table of contents on this page.

http://localhost/Store/index.php?main_page=page&id=17

Attachment 12472

Under Tools > EZ-Pages
Attachment 12473

Under Configuration > EZ-Pages Settings
Attachment 12474

Please let me know if you need to see anything else? Thank you.

10 May 2013, 2:17 PM
#508
gjh42 avatar

gjh42

Black Belt

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

Re: How do EZ-Pages work?

Your settings all look good. What template do you have installed? Does the issue change if you switch to Classic? And since there are many templates I am not familiar with, some more detail about yours might be helpful. In particular, are there any template-specific files relating to ez-pages?

10 May 2013, 3:49 PM
#509
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: How do EZ-Pages work?

gjh42:

Your settings all look good. What template do you have installed? Does the issue change if you switch to Classic? And since there are many templates I am not familiar with, some more detail about yours might be helpful. In particular, are there any template-specific files relating to ez-pages?

I started with "Classic Contemporary Green" and used an override to modify it.

To change the template is one thing I did not do, but when I tried it it failed also.

One thing I neglected to mention was that, I am using EZ-Pages Footer Columns v1.1 plugin!

My next test is to try this on a fresh install of Zen 1.5.1

I will keep you posted. Thank you.

11 May 2013, 2:45 AM
#510
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: How do EZ-Pages work?

Installed a fresh version of Zen 1.5.1 on my local host.

I am still **NOT **getting the TOC properly. Following is the screen capture of the setup:

Attachment 12478

Attachment 12479

http://localhost/ZenDemo/index.php?main_page=page&id=1&pos=v&chapter=100

Attachment 12480

http://localhost/ZenDemo/index.php?main_page=page&id=2&pos=v&chapter=100

Attachment 12481

http://localhost/ZenDemo/index.php?main_page=page&id=3&pos=v&chapter=100

And same with FAQ 3

I am not getting a listing of the Table of Contents
It does not appear in any of Header, Side box or Footer areas (when all are green / Yes).

Any ides?

11 May 2013, 2:56 PM
#511
gjh42 avatar

gjh42

Black Belt

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

Re: How do EZ-Pages work?

You are not getting ez-page links in header, footer or sidebox because you have their sort orders set to 0. Set them to actual numbers and they will show up.

I am not getting a listing of the Table of Contents
Your previous posts gave the impression that you were not getting the TOC at all. If I had known that you were getting an incomplete TOC, I would have known to direct you to this thread:

http://www.zen-cart.com/showthread.php?200571-Fixed-1-6-0-ez-pages-toc-links-not-displaying-any-more

11 May 2013, 3:53 PM
#512
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: How do EZ-Pages work?

gjh42:

You are not getting ez-page links in header, footer or sidebox because you have their sort orders set to 0. Set them to actual numbers and they will show up.

As you suggested I placed a "1" for the sort and the FAQ showed up in all header, footer and side-box.

gjh42:

Your previous posts gave the impression that you were not getting the TOC at all.

To be very frank, I did not want the FAQ to appear in neither header, footer or side-box! I wanted to have a direct link to the FAQ page from other pages. And as I stated in my previous posts, I was using URL html index.php?main_page=page&id=1 instead of ```html
index.php?main_page=page&id=1&chapter=100

11 May 2013, 3:59 PM
#513
gjh42 avatar

gjh42

Black Belt

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

Re: How do EZ-Pages work?

The TOC will show up (in the center column, never in sidebox, header or footer), but it will contain only the page with the lowest sort order.
You need to make the edits described in the thread for it to work properly. This bug appears as a result of new versions of PHP/MySQL that have stricter behavior. It's not so much a v1.5.x bug as a latent bug that shows up in the latest server platforms.

12 May 2013, 6:46 PM
#515
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: How do EZ-Pages work?

What template file controls the layout of TOC?

12 May 2013, 7:49 PM
#516
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: How do EZ-Pages work?

Also can php code be written in the HTML Content: of EZ-Pages?

Attachment 12489

12 May 2013, 11:20 PM
#517
gjh42 avatar

gjh42

Black Belt

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

Re: How do EZ-Pages work?

/includes/templates/your_template/templates/tpl_page_default.php. The stylesheet will also greatly affect the final layout of the TOC.

Ez-pages cannot process PHP, only HTML. There is a way to make them process PHP, but it is a hack with significant security risks.

13 May 2013, 5:41 AM
#518
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: How do EZ-Pages work?

gjh42:

Ez-pages cannot process PHP, only HTML. There is a way to make them process PHP, but it is a hack with significant security risks.

I surely don't want to do that. Thank you.

7 Jun 2013, 10:52 PM
#519
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: How do EZ-Pages work?

Help...

So I've never really used the EZ Pages before and I've decided to give it a shot...it's not so EZ!

I've created a page, I can open the page when I click on the link. But I have no idea where to edit this page. The page I created does NOT show up in the define pages editor. I would appreciate some direction on this so much. Thank you.

8 Jun 2013, 6:42 AM
#520
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: How do EZ-Pages work?

joyjoy:

Help...

So I've never really used the EZ Pages before and I've decided to give it a shot...it's not so EZ!

I've created a page, I can open the page when I click on the link. But I have no idea where to edit this page. The page I created does NOT show up in the define pages editor. I would appreciate some direction on this so much. Thank you.

EZ-pages are created / edited in tools=> EZ-Pages