Re: How do EZ-Pages work?
To clarify for other readers - my "fix" is not so much a fix as a method - the only method I'm aware of to create a TOC.
In short, to create a TOC, I have always had to create a page of text links to all the pages in a chapter that make up the TOC. This page is always TOC sort order 1.
The next step then is to assign a TOC sort order of 2, 3, 4, and so on to each of the pages in the chapter that comprise the TOC. Here is an example of the TOC that results from using this method.
I have never seen my cart automatically create a TOC simply based on EZ page settings alone. Actual content on the first page of the TOC has always been required for the TOC to be created.
In idc's case...when he creates several EZ pages in the same chapter and assigns them a TOC sort order, the TOC automatically appears in his store so long as the pages that make up the TOC are text based. If the pages that make up the TOC are links - then the TOC is not automatically created.
I don't know how idc's TOC is being automatically created under some circumstances but not under other circumstances, so I can't speak to that and whether or not it's a bug or intentional on the part of the programmers.
Re: How do EZ-Pages work?
Hey, Have issue with the TOC on ver 1.5 with Hebrew language installed.
The TOC was working, however we had issues related to the Hebrew encoding. after we resolved the Hebrew issue (mainly on ie) we have may changed something that we shouldn't that caused the TOC (Table of content) and the EZ-Pages related to it to not show - only the 1st TOC is there but no table.
The issue exist on both Hebrew and English and on any template including the Classic.
Previously we had issue when we had some code related to the current/non_current.
The other issue we currently have is with side box header for the ez-pages that show: BOX_HEADING_EZPAGES Only in Hebrew.
We have tried to debug following the https://www.zen-cart.com/tutorials/index.php?article=82 with no luck - nothing was found.
Site address is www.addvant.co.il
Thanks in advance for your help.
Re: How do EZ-Pages work?
Update on the above EZ-Pages TOC not functioning.
It was really strange, we build the whole site and it was much better we didn't really find the source of the issue. However, we should recommend the following to thous who uses the Hebrew on 1.5 version (and may other languages) before working on your template to first change the "utf8" on both includes/configure.php and admin/includes/configure.php to "utf-8" and only after to do modification.
Enjoy the day :smile:
Re: How do EZ-Pages work?
Is there a way to prevent ez-pages from having their title affixed to the beginning of the stores title?
Example: I have an EZPage named FAQ and a store named Bob's Store - The title shown in then browser bar is: FAQ - Bob's Store.
For consistencies sake - I would prefer to keep the title as just Bob's Store on all ezpages. Can this be done?
Re: How do EZ-Pages work?
Using your templates and overrides, you can use the:
/includes/languages/english/meta_tags.php
and copy to your templates and overrides directory:
/includes/languages/english/meta_tags.php
and customize the section of code:
Code:
// EZ-Pages meta-tags. Follow this pattern for all ez-pages for which you desire custom metatags. Replace the # with ezpage id.
// If you wish to use defaults for any of the 3 items for a given page, simply do not define it.
// (ie: the Title tag is best not set, so that site-wide defaults can be used.)
// repeat pattern as necessary
define('META_TAG_DESCRIPTION_EZPAGE_#','');
define('META_TAG_KEYWORDS_EZPAGE_#','');
define('META_TAG_TITLE_EZPAGE_#', '');
Re: How do EZ-Pages work?
Hi,
I actually already played around with this and it doesn't seem to effect anything. I have left it blank and put in the same title I would like to keep - yet it still keeps appending the page name to the title.
:frusty:
Quote:
Originally Posted by
Ajeh
Using your templates and overrides, you can use the:
/includes/languages/english/meta_tags.php
and copy to your templates and overrides directory:
/includes/languages/english/meta_tags.php
and customize the section of code:
Re: How do EZ-Pages work?
Do you have an example of what you tried and the path to the file that you made the changes to?
Re: How do EZ-Pages work?
I have tried leaving it blank and it still fills in the title. I have also tried:
define('META_TAG_TITLE_EZPAGE_#', 'One Breath Freediving Apparel');
With no luck either. I have tried editing the original file and of course the override in includes/languages/english/custom
Re: How do EZ-Pages work?
Did you try changing the # with the page_id for the EzPage that you are changing?
Re: How do EZ-Pages work?
Quote:
Originally Posted by
Ajeh
Did you try changing the # with the page_id for the EzPage that you are changing?
Not sure what you mean