Re: 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.
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.
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!!
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
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
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
Re: How do EZ-Pages work?
How do you edit content directly through admin?
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.
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.
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.