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

How do EZ-Pages work?

Views: 245,828

Results 221 to 240 of 570
06 Apr 2008, 18:55
#221
webchills avatar

webchills

Zen Follower

Join Date:
Sep 2005
Location:
Austria
Posts:
99
Plugin Contributions:
1

How do EZ-Pages work?

Is it possible to define language constants for the ez pages template tpl_page_default?
I can't find any language file which is called by an ez-page.
I tried languages/english/extra_definitions/ez_pages_definitions.php, languages/english/page_default.php or page.php. Or the general english.php
Nothing worked.
I use multilanguage ez-pages and want to use some kind of navigation header with an own text in the template. So i have to use something like this in the template:

<h1 id="ez"><?php echo TITLE_EZPAGE_MAIN; ?></h1> <h2 id="ez"><?php echo TITLE_EZPAGE_SUB; ?></h2>

In which language file can i put my
define('TITLE_EZPAGE_MAIN','BlaBlaBla');

I don' t want to put this section at the top of every ez-page.

07 Apr 2008, 08:36
#222
webchills avatar

webchills

Zen Follower

Join Date:
Sep 2005
Location:
Austria
Posts:
99
Plugin Contributions:
1

Re: How do EZ-Pages work?

I found a solution. Had to create a includes/extra_datafiles/page_filenames.php and the the definition from a page.php was shown.

29 Apr 2008, 08:44
#223
paulsschwarz avatar

paulsschwarz

New Zenner

Join Date:
Apr 2008
Posts:
21
Plugin Contributions:
1

Re: How do EZ-Pages work?

Hi all,

This is an EZ-Pages question with respect to the breadcrumb links.

I have a site: http://africanworks.mss.co.ke/ (currently protected, username: ed password: cross)

On the top-left I have the EZ-Pages box. In there is a link called "African Artists" which is an EZ-Page with a Side Box value, so that's why it automatically appears in the sidebox... good!

Now, if you read that EZ-Page, under the title "Richard Onyango" you'll see a link that says "Read more..." To achieve this I have created an EZ-Page called Richard Onyango which itself is an EZ-Page and I have linked the "Read more..." link to point to this page. How did I do it? well this part might be considered a messy hack :unsure: but all I did was notice that EZ-Pages are linked by a URL with the EZ-Page ID in it, like this: index.php?main_page=page&id=7

Alright, now that works perfectly... except for the breadcrumbs!
What I'd like to see is:
Home -> African Artists -> Richard Onyango
But I'm getting:
Home -> Richard Onyango

What mechanism does Zen Cart provide for making EZ-Pages look like sub-pages of other EZ-Pages?
for ex: index.php?main_page=page&id=7&parentPath=1

or is there a proper zen way of doing this that I have overlooked?

Thanks!!

05 Jun 2008, 14:37
#224
jamesdavid avatar

jamesdavid

Zen Follower

Join Date:
Apr 2008
Posts:
193
Plugin Contributions:
0

Re: How do EZ-Pages work?

How can you stop the EZ-Page title from appearing in the top of the main content area? I have my EZ-Page’s titles in my header so theres no need for the title to be repeated.

Ive found a few people with this problem while searching the forums so if someone can help me out i will post links to to the answer in there forums.

The only solution Ive come up with is making the title div not display with CSS but this seems to cause some layout problems. Is there a way of commenting out the PHP?

thanks
james

05 Jun 2008, 17:12
#225
jamesdavid avatar

jamesdavid

Zen Follower

Join Date:
Apr 2008
Posts:
193
Plugin Contributions:
0

Re: How do EZ-Pages work?

I have another EZ-page question.

I'm using the Internal Link URL option in EZ-pages to link to an html document that ive created, when I click on the link in my site, the html document is open by itself in a new page without the header, footer and side-boxes.

How can I make html linked EZ-pages open in the main content area of my site (so you can see the heater, footer and side-boxes).

I know that one way to do this is to copy the html content and paste it into the EZ-page creator in the admin, but I will be updating these pages frequently and would like to be able to use dreamweavers template function. Having to copy and paste the new code in to the admin for each page individually will be very time-consuming.

thanks
james

06 Jun 2008, 07:03
#226
spbennett avatar

spbennett

Zen Follower

Join Date:
Feb 2007
Location:
Leicester UK
Posts:
230
Plugin Contributions:
0

Re: How do EZ-Pages work?

Ctrl+C, Ctrl+V. How time consuming can it be?

Probably quicker than uploading your updated page.

Unless of course you're updating lots of pages, in which case it'd be much quicker to forget dreamweaver and edit the content directly through admin

06 Jun 2008, 08:06
#227
jamesdavid avatar

jamesdavid

Zen Follower

Join Date:
Apr 2008
Posts:
193
Plugin Contributions:
0

Re: How do EZ-Pages work?

How do you edit content directly through admin?

06 Jun 2008, 14:53
#228
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: How do EZ-Pages work?

What are you trying to edit. If you need to make EZ PAGES you can do that from admin/tools/ez-pages.

06 Jun 2008, 15:08
#229
jamesdavid avatar

jamesdavid

Zen Follower

Join Date:
Apr 2008
Posts:
193
Plugin Contributions:
0

Re: How do EZ-Pages work?

I have a number of pages that are all have common elements, so ive used a template in dreamweaver to control them. I want to have these pages in my site. I would just copy the html code and paste it into Admin/ Tools/ EZ-Pages/ New File, but I am going to want to update these files often.

I can update these files easily from one page with dreamweaver using the template function, but I would then have to copy and paste each page into the EZ-Page bit in the Admin. Doing this once is not a problem, but having to go through the whole process each time I update the template is not an option (updates will be frequent).

I could use dreamweaver to update the html files, and have them linked thought the EZ-Page creator with Internal Link URL. The only problem with this is zen cart opens linked files differently to ones you create by pasting code into the Admin. Linked files open in a new window, without the header, footer and side boxes. I want Internal Link URL EZ_Pages to be opened in the main content area, so the header, etc is still visible. This is the way EZ-Pages work if you create them by copying html into the creator.

06 Jun 2008, 17:59
#230
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: How do EZ-Pages work?

I know this is a problem I have issues also in one of my web sites. Maybe you could use one of the page2, page3, page4 rename it and keep it updated from
admin/tools/ Define Pages Editor that may be an option for you.

06 Jun 2008, 18:12
#231
jamesdavid avatar

jamesdavid

Zen Follower

Join Date:
Apr 2008
Posts:
193
Plugin Contributions:
0

Re: How do EZ-Pages work?

Thanks, that will be a bit quicker.

You could always make the header, footer and sideboxes in dreamweaver, but make them identical to the ones in zencart. That would work if you were not going to update your zen cart menu that often, or if the changes were CSS.

Would you have to do this manually or is there a way of getting dreamweaver to read the php from zen cart and generate the html that way?

james

06 Jun 2008, 18:35
#232
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: How do EZ-Pages work?

I have heard of people connecting to there shop with dreamweaver but I couldn't tell you how. If you are asking me it you have to change page2, manually yes you do. You also need to put it in your override folder. I know it a pain but this is the only for now.

06 Jun 2008, 18:38
#233
jamesdavid avatar

jamesdavid

Zen Follower

Join Date:
Apr 2008
Posts:
193
Plugin Contributions:
0

Re: How do EZ-Pages work?

Ok, thanks for you help. Its nice to know that this can be done. I will have to look into it at some point in the future, bit too much of a newbie a the mo!

06 Jun 2008, 21:21
#234
tcarney avatar

tcarney

New Zenner

Join Date:
Oct 2007
Posts:
11
Plugin Contributions:
0

Re: How do EZ-Pages work?

I am having problem with listing EZ Pages on my Footer. I have them working fine and displaying in the footer. However, the problem is that the links dispplay straight across the page (see link to my site). I would like them to wrap around in the footer instead of one line across.

I placed <br> in the title of a couple of ez pages to get this effect. But, it was causing validation errors.

Any help would be greatly appreciated.

http://www.couplespice.com

07 Jun 2008, 01:34
#235
tcarney avatar

tcarney

New Zenner

Join Date:
Oct 2007
Posts:
11
Plugin Contributions:
0

Re: How do EZ-Pages work?

Never mind, I got it now.

http://www.couplespice.com

:clap:

12 Jun 2008, 01:00
#236
timzhou avatar

timzhou

New Zenner

Join Date:
Mar 2008
Posts:
23
Plugin Contributions:
0

Re: How do EZ-Pages work?

may I ask where to change the category title of "important links" after creating new e-z pages?

thanks

12 Jun 2008, 08:05
#237
kuroi avatar

kuroi

Totally Zenned

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

Re: How do EZ-Pages work?

timzhou:

may I ask where to change the category title of "important links" after creating new e-z pages?This FAQ Entry is applicable to all side boxes

23 Jun 2008, 01:24
#238
ivorytklr avatar

ivorytklr

New Zenner

Join Date:
Jun 2008
Posts:
3
Plugin Contributions:
0

Re: How do EZ-Pages work?

Up until now I've been able to solve my ZC problems by searching the forum, but this time I give up. I'm tired. Just tired.

The site is http://www.shopjustvintage.com

Two EZ Pages problems.

First, I had changed the box heading to "Pages of Interest" (that's all I could think of right then) and it showed up as that in the sidebox. That was several days ago. I can't remember what I've done since then - I know I deleted the EZ page I'd created, or tried to create. Left it alone for a few days and tried again today, but the box heading does not show Pages of Interest. Instead, it shows BOX_HEADING_TITLE. What in the world did I unknowingly change???
Here's the code in includes/languages/english/CUSTOM_TEMPLATE/ez_pages_definitions.php

<?php/** * ezpages language components - used when displaying components for EZ-Pages content * * @package languageDefines * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: ez_pages_definitions.php 2739 2005-12-30 19:00:50Z birdbrain $ */// ez-pages sidebox title namedefine('BOX_HEADING_EZPAGES', 'Pages of Interest');define('TEXT_EZ_PAGES_TABLE_CONTEXT', 'Table of Contents');define('CURRENT_PAGE_INDICATOR', ' * ');define('NOT_CURRENT_PAGE_INDICATOR', ' - ');?>

What am I missing? Do I need to change something somewhere else?

Second............

I've created a test EZ Page called Test. It shows up in the sidebox. It's clickable, but opens up a blank page. A page that should have the words, "Testing 1-2-3". I put those words in the html area. Nothing in the internal or external links boxes.

http://www.shopjustvintage.com

I do hope someone has the answers!

Thanks,

Wanda

23 Jun 2008, 14:53
#240
ivorytklr avatar

ivorytklr

New Zenner

Join Date:
Jun 2008
Posts:
3
Plugin Contributions:
0

Re: How do EZ-Pages work?

Shoot. I used Fantastico, so don't have a copy of the file. Typical of me, since all I had to do was change a couple of words, I didn't make a copy of the file. I mean, really! There was nothing to it! I knew what it was supposed to look like. Sigh. I will, certainly, if that's the only way, but I'd rather not have to download the whole program for that itty bitty file. I truly appreciate the suggestion, but do we have another?

Wanda