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

How do EZ-Pages work?

Views: 245,840

Results 301 to 320 of 570
10 Oct 2008, 10:45 PM
#301
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

How do EZ-Pages work?

That's awesome! What a relief! Thanks Ck!

12 Oct 2008, 8:20 PM
#302
monkeypeach avatar

monkeypeach

New Zenner

Join Date:
Jul 2008
Posts:
44
Plugin Contributions:
0

Re: How do EZ-Pages work?

Is it possible to move the login/basket down to where the ezpages header menu is?

https://www.monkeypeach.co.uk

20 Oct 2008, 5:54 PM
#304
pjb923 avatar

pjb923

Zen Follower

Join Date:
Jan 2005
Location:
NY
Posts:
135
Plugin Contributions:
0

Re: How do EZ-Pages work?

I posted this question in another section, but thought I may get a better answer here.

I am trying to add a textarea inside a page that I created using ez-pages. Because the contents of the page are entered within a text box, the closing <textarea> tag is causing major problems for the zen cart admin.

After the first save, I can no longer update the page and anything that comes after the end of the text box shows up on the admin page.

Is there an easy way to embed a text box inside a page without interfering with the admin interface?

23 Oct 2008, 1:32 AM
#305
some_name_not_taken avatar

some_name_not_taken

Zen Follower

Join Date:
Sep 2008
Posts:
106
Plugin Contributions:
0

Re: How do EZ-Pages work?

pjb923, maybe I'm missing something here, but what's wrong with editing your file outside of Admin (ie: by downloading it, editing it, and re-uploading it)?

23 Oct 2008, 1:45 AM
#306
some_name_not_taken avatar

some_name_not_taken

Zen Follower

Join Date:
Sep 2008
Posts:
106
Plugin Contributions:
0

Re: How do EZ-Pages work?

I have a problem of my own, too, - namely that I cannot get a simple EZ Pages Table of Contents to work.

Yes, I have read earlier posts and followed the directions exactly and yes, TOC is allowed in the EZ-Pages Settings but... the TOC simply will not build.

I had thought that it was necessary to display the links, or even just one in the header bar (the area I am wanting the change) in order to get the TOC to work because, even though this is not necessary according to Kuroi, nothing will display unless I select header display for one or both of the items I want in a table, and selecting header display for both items literally does display both in the header... as seperate links and not in a TOC...

Idid think that my tpl_header.php may be responsible, but I have since tried replacing that with an original (unmodified) file, but that did not fix the problem and, besides, all my other header links work just fine.

Additionally I checked that the links for both the items I am wanting in the TOC were different (they are).

So now I am completely puzzled and would welcome any suggestions on how to cure this.

23 Oct 2008, 1:55 AM
#307
some_name_not_taken avatar

some_name_not_taken

Zen Follower

Join Date:
Sep 2008
Posts:
106
Plugin Contributions:
0

Re: How do EZ-Pages work?

It's OK. - I think that I have found the answer:

TOC are created as rows on headers and footers. - Why? - Who knows? - Bearing in mind that that follows the generic header / footer layout makes the use of TOCs for headers / footers completely useless because most people (myself included) are going to want to use TOC in vertical format when using in in headers or footers.

Just found:

CSS Horizontal Drop Down Menu http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=479

23 Oct 2008, 3:41 AM
#308
drbyte avatar

drbyte

Sensei

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

Re: How do EZ-Pages work?

You are mistaken. TOC is independent of headers or footers. If you have a fresh install of Zen Cart with demo data, you'll see working examples of EZ-pages with TOC that have only the first part linked to the header-bar.

23 Oct 2008, 8:10 AM
#309
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How do EZ-Pages work?

some name not taken:

pjb923, maybe I'm missing something here, but what's wrong with editing your file outside of Admin (ie: by downloading it, editing it, and re-uploading it)?I'm afraid so. EZ_Pages aren't files that can be downloaded. They're database entries. Since they are entered and maintained via a textarea field, I suspect that pjb923 has hit a limitation of EZ-Pages and would need to build a full page, perhaps by adapting page_2.

23 Oct 2008, 1:40 PM
#310
pjb923 avatar

pjb923

Zen Follower

Join Date:
Jan 2005
Location:
NY
Posts:
135
Plugin Contributions:
0

Re: How do EZ-Pages work?

kuroi:

I'm afraid so. EZ_Pages aren't files that can be downloaded. They're database entries. Since they are entered and maintained via a textarea field, I suspect that pjb923 has hit a limitation of EZ-Pages and would need to build a full page, perhaps by adapting page_2.

Thanks kuroi. I'll try building the page using page_2.
I suppose I could also edit the page from the database using phpMyAdmin, but I like your idea a lot better. :clap:

23 Oct 2008, 11:46 PM
#311
some_name_not_taken avatar

some_name_not_taken

Zen Follower

Join Date:
Sep 2008
Posts:
106
Plugin Contributions:
0

Re: How do EZ-Pages work?

Thanks for the amendment, Doc! - Dodgy info!

I have just been reviewing some earlier posts by TShooters and can see that I was mistaken. - Kuroi, too, posted something similar but I thought that that was a sidebox and did not apply to header links.

Anyway, the post by TShooters and your advice have confirmed that the TOC should work and it isn't.

I have got the method right, even checked it against TShooters screenshots, and replaced my tpl_header with an original file in case my coding had messed it up, but without success unfortunately. I have also tried removing the SSL link (I was wanting to build a TOC for account information) and placing the TOC in the footer bar, but again without success.

The only two things I can think of now that could be causing this problem are:

i:) corrupted database
ii:) files required to support EZPages functionality

The normal EZPage links are working just fine.

24 Oct 2008, 12:14 AM
#312
some_name_not_taken avatar

some_name_not_taken

Zen Follower

Join Date:
Sep 2008
Posts:
106
Plugin Contributions:
0

Re: How do EZ-Pages work?

I have now tried replacing the tpl_ezpages_bar_header.php, tpl_ezpages_bar_footer.php, stylesheet.css, and configuration.php files with original (unmodified) files and the TOC still won't build...

I also tried removing all other links on the EZPage bar and switching back to the classic template, neither of which worked either...

24 Oct 2008, 12:23 AM
#313
some_name_not_taken avatar

some_name_not_taken

Zen Follower

Join Date:
Sep 2008
Posts:
106
Plugin Contributions:
0

Re: How do EZ-Pages work?

All sideboxes enabled, database optimised, values reset... - nothing!

24 Oct 2008, 4:19 AM
#314
some_name_not_taken avatar

some_name_not_taken

Zen Follower

Join Date:
Sep 2008
Posts:
106
Plugin Contributions:
0

Re: How do EZ-Pages work?

I've found the reason why the TOC isn't working. - You cannot specify links (external or internal) or the links are treat as just that, ie: you won't get any TOC...

...and the TOC is created on a new page.

So, the settings are just as described by TShooters (page 3 of this post) and Kuroi (all over the place!), but you have to enter some content into the box and not specify any internal or external links (unless you specify them in the box using HTML links, etc.).

If you do this you should see a link in your header, footer, sidebox, etc. which will take you to a page displaying your TOC when clicked on - not a little box or dropdown in the header, footer, etc. as I had originally thought. - You will need a seperate module for that...

...or some creativity involving CSS float, relative positioning (not absolute!), etc..

Note: hyperlinks within PHP code blocks need to be in PHP syntax to work properly! - HTML links may not work properly.

24 Oct 2008, 3:57 PM
#315
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: How do EZ-Pages work?

Are EZPages turned on in Admin/Configuration/EZ-Pages Settings/
EZ-Pages Display Status - HeaderBar/Footer Bar/Sidebox (where ever you want them)?

There's also a setting in Admin/Configuration/Maximum Values/Maximum Display EZ-Pages.

24 Oct 2008, 5:10 PM
#316
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: How do EZ-Pages work?

TShooters:

Are EZPages turned on in Admin/Configuration/EZ-Pages Settings/
EZ-Pages Display Status - HeaderBar/Footer Bar/Sidebox (where ever you want them)?
There's also a setting in Admin/Configuration/Maximum Values/Maximum Display EZ-Pages.
The maximum values in Configuration don't turn EZ pages on, but they could be turned off if set to 0 or negative value.
Many users stumble there because if left to 0 it will be turned off even if you select header, footer, etc. If you select "yes", value must be 1 or greater.

31 Oct 2008, 6:46 AM
#317
dizzydog avatar

dizzydog

New Zenner

Join Date:
Oct 2008
Posts:
27
Plugin Contributions:
0

Re: How do EZ-Pages work?

dianna11:

Hey! I had a hard time figuring it out too. It turned out to be far easier than I expected.

First, in the admin, go to Tools-> EZ-Pages

Open a new file.

Decide where you want the page to be linked from, in the side boxes, header, footer, etc. and click yes/no button for each.

Put any html content in the big box.

Click 'insert'

Poof! it is done!

I hope that helps

It did'nt work for me like that at all. i tested it with a Youtube video. Never popped up at all.

Does it matter what is put into that HTML box?

31 Oct 2008, 8:42 AM
#318
scriptjunkie avatar

scriptjunkie

Totally Zenned

Join Date:
Jul 2008
Posts:
772
Plugin Contributions:
0

Re: How do EZ-Pages work?

Yes, it definitely matters. Not all types of code can go into an ez page. Java script for example is especially problematic because most java script appears in a page's header code, and you can only insert code that would normally be in the body section of an html page.

I'm working with this now and testing various things that can and can't go into an easy page, such as dynamic menu code, video and audio player widgets, game widgets, chat room code, etc.

I've asked a similar question to you and the best answer I got was to just play with it and see what it will and won't accept.

Try creating a page with just text in it following the instructions given to you by the previous poster. If it works, then you know you're doing it right. Then if it won't accept your code, you know that code is something you can't use inside an EZ page.

The work around for code that won't work in an EZ page is to manually build a webpage for the content you want, and use an EZ page to make a link for it that appears in your store header, footer and sidebox (as per your preference).

Then, instead of inserting the content into the html box in the ez page, use the internal link box below the html text box to point the link to that page.

I haven't been able to find a list of what kind of content the EZ page will and will not accept, so it's just trial and error.

Hope this helps.

31 Oct 2008, 10:13 PM
#319
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: How do EZ-Pages work?

ScriptJunkie:

Try creating a page with just text in it following the instructions given to you by the previous poster. If it works, then you know you're doing it right. Then if it won't accept your code, you know that code is something you can't use inside an EZ page.Or to piggyback on this, you can get your HTML page to appear inside your ZenCart header and footer if you call for it through an iframe (which you can use within an EZ Page). There are some limitations with iframes of course, but depending on the content, it could work very well..

I've also used iframes in an EZ Page to call for other things like for example a photo gallery so it appears inside of ZenCart.

17 Nov 2008, 5:21 PM
#320
tekram avatar

tekram

Zen Follower

Join Date:
Feb 2006
Posts:
111
Plugin Contributions:
0

Re: How do EZ-Pages work?

Ok, i am really confused here how to use EZ Pages and for waht. I have seen that tutotial but it does not clarify it for me. It just might be me :( (https://www.zen-cart.com/tutorials/index.php?help=no&article=117)

What I want to do is just create a page like an "About Us."

I tried playing around with it but I am not sure what the naming convention is for the link. is it just the page title? I created a page but it keeps coming up as not found.

sorry for the newbie q.