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

How do EZ-Pages work?

Views: 245,827

Results 181 to 200 of 570
30 Oct 2007, 17:24
#181
kuroi avatar

kuroi

Totally Zenned

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

How do EZ-Pages work?

highlander:

How do I do the Product FAQ example you listed?I gave that primarily as an example of the ease with which additional content can be added to the product_info page rather than as a specific answer to your question. But here goes:

  1. add a table to your database to hold the FAQs
  2. create an Admin page to add, edit and delete entries for a particular product ID
  3. add an icon to the categories_product_listing page in Admin to call the previously described Admin page using the product ID in a $_GET variable
  4. Add a javascript routine to open and close the entries by toggling the divs display styles (there's info about how to add javascript in your site's docs folder)
  5. build a module file to extract entries from the database for the current product_info page's products_id
  6. build a template module file to display this in a simple HTML (DIV-based) structure
  7. Style with CSS for maximum effect.
    If you are familiar with these technologies (SQL, HTML, PHP, CSS and javascript) and have a basic understanding of the way in which pages are constructed in the Admin and Catalog, none of this is very difficult. I guess the challenge would be that, unsually, it requires some knowledge of pretty well everything used to build a Zen Cart.
16 Nov 2007, 16:47
#182
circlegtractors avatar

circlegtractors

New Zenner

Join Date:
Aug 2007
Posts:
33
Plugin Contributions:
0

Re: How do EZ-Pages work?

Lets say I want to put a straight link on my main page to a wiring diagram ez page. The link will say Wiring Diagram. Where do I make the link to since ezpages are stored in the database instead of in a file?

16 Nov 2007, 16:49
#183
kuroi avatar

kuroi

Totally Zenned

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

Re: How do EZ-Pages work?

circlegtractors:

Lets say I want to put a straight link on my main page to a wiring diagram ez page. The link will say Wiring Diagram. Where do I make the link to since ezpages are stored in the database instead of in a file?https://www.zen-cart.com/tutorials/index.php?article=251

16 Nov 2007, 16:56
#184
circlegtractors avatar

circlegtractors

New Zenner

Join Date:
Aug 2007
Posts:
33
Plugin Contributions:
0

Re: How do EZ-Pages work?

Thanks, ill give it a try

07 Dec 2007, 18:58
#185
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: How do EZ-Pages work?

Hi all,

I have some question about EZ Page . I use to display my video in YouTuble and Google Video .

The issues is i have many video now and i would like to have page 1 - 2 - 3 in EZ Page.

Is it possible to do this ?

KIMSON

Thanks you .

17 Dec 2007, 15:49
#186
tonybenedetti avatar

tonybenedetti

Zen Follower

Join Date:
Apr 2004
Posts:
79
Plugin Contributions:
0

Re: How do EZ-Pages work?

Can an EZ-Page contain PHP or must it just be purely (X)HTML? For example, can I code something like:

Please see our
<?php echo zen_ez_pages_link(14, 2); ?>
page for more info.

I suspect that the contents of the EZ-Page is not processed by the PHP interpreter ... but then again I'm probably doing something wrong.

19 Dec 2007, 16:13
#187
tonybenedetti avatar

tonybenedetti

Zen Follower

Join Date:
Apr 2004
Posts:
79
Plugin Contributions:
0

Re: How do EZ-Pages work?

Asked and Answered...

TonyBenedetti:

Can an EZ-Page contain PHP or must it just be purely (X)HTML? For example, can I code something like:

Please see our

<?php echo zen_ez_pages_link(14, 2); ?>

page for more info.

> 
> I suspect that the contents of the EZ-Page is not processed by the PHP interpreter ... but then again I'm probably doing something wrong.

I prepared a super-simple ez-page with the following content:
```html
<p>
There should be three "X"s inside these
parentheses
( <?php echo 'XXX'; ?> ).
</p>

But, alas, the parentheses were empty.

Thus, I guess we can conclude that the contents of an EZ-Page does not get processed by PHP.

28 Dec 2007, 11:30
#188
nrg avatar

nrg

New Zenner

Join Date:
Jul 2007
Posts:
21
Plugin Contributions:
0

Re: How do EZ-Pages work?

Hi,

I really like the ez pages. Made them multilingual and the do the job. I just don´t really like the menu, that goes into the ezpages. I´d rather have the menu in the sidebox. Just like products i´d select the main, then the sub items appear. Like I´d select the main chapter and the subpages (TOC) appear.

Is there a sidebox like that? and an ezpages fileupdate, so the menu won't be in the ezpage itself?

And does anyone know if there is a rss feed for ezpages? (i don't really want to install seperate publication modules, ezpages are just fine :))

28 Dec 2007, 21:46
#189
gayelston avatar

gayelston

New Zenner

Join Date:
Aug 2006
Location:
Wales
Posts:
80
Plugin Contributions:
0

Re: How do EZ-Pages work?

Hi,
I've gotten the TOC to work & have my ezpages in my sidebox.
What I would like to do is make the ezpages be my FAQ's.
These aren't FAQ's relating to my site etc, but FAQ's for the products I sell & for generel crafting FAQ's, hints & tips etc.
I also want to be able to add proects etc.
This means I will need to be able to add images to my pages every now & again, so where are the images stored for the ezpages & would I ftp them?
I want to be able to have a main page that contains all the questions for that heading as here

http://www.artyfactsforcrafts.com/faq/applebarrelfaqs.htm

That means I want a list of questions, each being a hyperlink to the answer page, which in turn opens in it's own window.
That's the way my FAQ's off site work at the moment, but I just haven't been able to work out how to replicate it here.
I would be very grateful if someone could help me with this please.
I have ezpages working here:

http://www.artyfactsforcrafts.com/zen-cart-new/index.php?main_page=

but that site isn't live at the moment.
Regards
Gay elston

28 Dec 2007, 21:50
#190
gayelston avatar

gayelston

New Zenner

Join Date:
Aug 2006
Location:
Wales
Posts:
80
Plugin Contributions:
0

Re: How do EZ-Pages work?

OOH,OOH,OOH and another thing!
That horrible table of Contents box!
Where can I change that to a list that spreads out as long across the page as needed, rather than being bound by the pxs alloted for that box?
Think that's all, for now lol
Regards
Gay elston
ps if i don't get in touch before : Happy New Year all!!:clap:

30 Dec 2007, 19:34
#191
theredhead avatar

theredhead

New Zenner

Join Date:
Aug 2007
Posts:
33
Plugin Contributions:
0

Re: How do EZ-Pages work?

New question - is there a simple way to have the New Products for XXX display at the bottom on an EZ-Page?

Thanks.

-the redhead-

16 Jan 2008, 19:52
#192
bsteinagel avatar

bsteinagel

Zen Follower

Join Date:
Sep 2007
Location:
Neenah, WI
Posts:
112
Plugin Contributions:
0

Re: How do EZ-Pages work?

Hi Everyone,

I feel dumb asking this question, but could someone explain to me how the internal link function at the bottom of the ez page creation works. What I'm trying to do is add a page to my site using EZ pages. This new page will be a listing of all my image galleries. What I want to do is link this new page to the top-level "Gallery" link in the CSS horizontal flyout menu which I customized.

When I enter a relative path in the internal link dialogue box, how is that link incorporated into the page? Where does it show up on the finished page?

My second question is: after I'm done creating the EZ-page, how do I know what the URL for that page is? I need to know what it is so I can insert it into the code for the CSS flyout menu.

I'm probably making more out of it than I need to. Thanks in advance for any help.

Brad

16 Jan 2008, 20:14
#193
tshooters avatar

tshooters

Totally Zenned

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

Re: How do EZ-Pages work?

An internal link would be a link that's already a part of Zen Cart. Say you want
your Contact Us link in the header instead of in a side box.

An external link is a link to a page outside the Zen Cart structure. Say you want to link to an html page (that could be uploaded to your public_html folder on your
server).

Hope that helps!

17 Jan 2008, 18:17
#194
andrewg_ny avatar

andrewg_ny

New Zenner

Join Date:
Jan 2008
Posts:
2
Plugin Contributions:
0

Re: How do EZ-Pages work?

For some reason EZ Pages consisting of internal links to define pages such as 'contact us' do not appear in tables-of-contents even when given the same chapter#. Is this to be expected? Is this a defect, and are there workarounds?

I want to keep using certain define pages such as contact us or for gift certificates because they have interactive forms beyond the straight HTML that the EZ pages generally contain--but I was hoping to avoid putting these EZ pages at the top level of the hierarchy, instead putting them as sub-chapters underneath a top-level parent 'Customer Service' EZ page.

Thanks in advance.

-Andrew

21 Jan 2008, 17:49
#195
snuggle_bug avatar

snuggle_bug

New Zenner

Join Date:
Oct 2005
Location:
Cleveland, OH
Posts:
21
Plugin Contributions:
0

Re: How do EZ-Pages work?

I've tried searching & cannot find an answer to this question:
How to I keep the ez pages active when the site is down for maintenance? The contact page still works, so folks can still email through zencart, but the ez pages links just forward to down for maintenance & I need them active while this site is redone. (ez pages are using the html option in case that makes a difference).

Any help would be greatly appreciated, I'm not afraid to go editing files if I need to, but am hoping there's an easier way I'm just missing?

22 Jan 2008, 11:53
#196
gayelston avatar

gayelston

New Zenner

Join Date:
Aug 2006
Location:
Wales
Posts:
80
Plugin Contributions:
0

Re: How do EZ-Pages work?

Snuggle Bug:

I've tried searching & cannot find an answer to this question:
How to I keep the ez pages active when the site is down for maintenance? The contact page still works, so folks can still email through zencart, but the ez pages links just forward to down for maintenance & I need them active while this site is redone. (ez pages are using the html option in case that makes a difference).

Any help would be greatly appreciated, I'm not afraid to go editing files if I need to, but am hoping there's an easier way I'm just missing?

Hi,
I think I'm right in saying: when you want to define the state of your site during maintenance, you go to Configuration Website Maintenance in Admin.
You can decide if you want prices to be shown, whether header, footer or sideboxes are shown.
You could turn on your header & your sideboxes while your side is under maintenance, or you could just turn on your header & your right sideboxes - if that's where your ezpages are situated - either right or left or both together.
I haven't actually seen this in operation, but I was configuring it last night so thought I'd answer.
Hope that helps.
Regards
Gay
http://www.artyfactsforcrafts.com

22 Jan 2008, 12:53
#197
gayelston avatar

gayelston

New Zenner

Join Date:
Aug 2006
Location:
Wales
Posts:
80
Plugin Contributions:
0

Re: How do EZ-Pages work?

andrewg_ny:

For some reason EZ Pages consisting of internal links to define pages such as 'contact us' do not appear in tables-of-contents even when given the same chapter#. Is this to be expected? Is this a defect, and are there workarounds?

I want to keep using certain define pages such as contact us or for gift certificates because they have interactive forms beyond the straight HTML that the EZ pages generally contain--but I was hoping to avoid putting these EZ pages at the top level of the hierarchy, instead putting them as sub-chapters underneath a top-level parent 'Customer Service' EZ page.

Thanks in advance.

-Andrew

Hi,
I had a similar problem: I wanted my ezpages to be for Helpfiles, FAQs & Projects for products I sell on my website, like the ones I have offline at the moment.
In the FAQs I will have a page or two with a list of questions, each question being a link to an answer page that doen't appear anywhere else.
Only the heading page, eg Gallery Glass FAQs, would appear in the sidebox, the rest is all done by these links, but NOT the internal link facility that is used by ezpages.
I could only do this once I had installed fckeditor!
Now I have my pages all listed as links & only appearing once the link is selected, & I can have as many links on the one page as I need.
Someone else asked about the url of an ezpage.
Make a page that you want to show in the sidebox, go to your website, select that page, copy the url.
This is one of mine: http://www.artyfactsforcrafts.com/zen_new/index.php?main_page=page&id=9&chapter=2
The bit that says page&id=9& is the bit that refers to one particular page, I just change that number to reflect which page I want selected.
I personally save that address on a notepad page so I can copy & paste any time I need a page address, & just change the number id as needed.
You find the number id on Tools Ezpages Select a Page on the left hand side under ID.
Hope that helps.
Regards
Gay
http://www.artyfactsforcrafts.com

22 Jan 2008, 17:29
#198
andrewg_ny avatar

andrewg_ny

New Zenner

Join Date:
Jan 2008
Posts:
2
Plugin Contributions:
0

Re: How do EZ-Pages work?

gayelston:

Hi,
I had a similar problem: I wanted my ezpages to be for Helpfiles, FAQs & Projects for products I sell on my website, like the ones I have offline at the moment.
In the FAQs I will have a page or two with a list of questions, each question being a link to an answer page that doen't appear anywhere else.
Only the heading page, eg Gallery Glass FAQs, would appear in the sidebox, the rest is all done by these links, but NOT the internal link facility that is used by ezpages.
I could only do this once I had installed fckeditor!
Now I have my pages all listed as links & only appearing once the link is selected, & I can have as many links on the one page as I need.
Someone else asked about the url of an ezpage.
Make a page that you want to show in the sidebox, go to your website, select that page, copy the url.
This is one of mine: http://www.artyfactsforcrafts.com/zen_new/index.php?main_page=page&id=9&chapter=2
The bit that says page&id=9& is the bit that refers to one particular page, I just change that number to reflect which page I want selected.
I personally save that address on a notepad page so I can copy & paste any time I need a page address, & just change the number id as needed.
You find the number id on Tools Ezpages Select a Page on the left hand side under ID.
Hope that helps.
Regards
Gay
http://www.artyfactsforcrafts.com

Gay, thanks for your response. However, I don't think this is exactly the issue I am facing--I don't seem to be having a problem including other EZ Pages. The issue is that the Define pages such as 'Contact Us' and Gift Certificate Redemption will not appear in the table of contents--only if I have direct links to them in the sidebars. These cannot be easily converted to EZ Pages as they include interactive forms.

-Andrew

27 Jan 2008, 19:43
#199
theredhead avatar

theredhead

New Zenner

Join Date:
Aug 2007
Posts:
33
Plugin Contributions:
0

Re: How do EZ-Pages work?

I'm still looking for and answer to this question:

New question - is there a simple way to have the New Products for XXX display at the bottom on an EZ-Page?

Can I go through and add a chunk of code to each easy page to get this functionality or...?

Thanks!

-the redhead-

27 Jan 2008, 22:16
#200
kuroi avatar

kuroi

Totally Zenned

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

Re: How do EZ-Pages work?

theredhead:

is there a simple way to have the New Products for XXX display at the bottom on an EZ-Page?

There's not really an easy way to add it to individual EZ-Pages, but you could copy the code that calls in this listing box in tpl_index_default.php to tpl_page_default and if required add some filters to restrict the display to certain pages.