Re: How do EZ-Pages work?
Quote:
Tools > ez-pages
Code:
ID Page Title Open New Window: Page is SSL: Header: Sidebox: Footer: Chapter: TOC:
16 Our shop rocks Status - Disabled Status - Disabled 0 Status - Disabled 1 Status - Enabled 0 Status - Disabled 1 1 Status - Enabled
17 Our shop rolls Status - Disabled Status - Disabled 0 Status - Disabled 2 Status - Enabled 0 Status - Disabled 2 2 Status - Enabled
Woody,
I'm not sure if you figured this it out by now, but just in case, I can say what helped me, after much trial and many errors.
I needed to re think the chapters, that is if you have 1, 2, 3 or more pages that you want in the TOC, then all related pages should be in the "Same chapter #".
Then name each page in the order you want, that is 1, 2, 3, etc.
It appears (but I could be reading it wrong) from your tools - ez-page settings example that you have a Chapter 1 "and" a Chapter 2. Which is easy to do when all the prior setting for header, footer, and the like ask for an order #. Different chapters do not combine in the TOC.
I made the chapters # of each grouping the same, and the TOC was built automatically on top of each page chapter's grouping.
Works slick.
Re: How do EZ-Pages work?
Quote:
Originally Posted by
Justwade
I made the chapters # of each grouping the same, and the TOC was built automatically on top of each page chapter's grouping. Works slick.
Bingo! That was it. Such an easy concept blew right by me. :shocking:
May your points above be integrated into the help text on the EZ-pages admin page (see below).
Thanks again,
Woody.
Quote:
TOC (Table of Contents) Sort Order used while generating pages that are customized as either a single row (header/footer, etc) or vertically, based on individual needs; Sort order should be greater than zero to enable this page in the listing
Chapters are used with TOC (Table of Contents) Sort Order for the display on Previous/Next. Links in the TOC will consist of pages matching this chapter number, and will be displayed in the TOC Sort Order
Re: How do EZ-Pages work?
I'm glad to see you get it to work. :smile:
I know I read and reread the info + forum posts and was still at a total loss plus discouraged by my failures. But eventually I figured it out by the many trials, and was stunned by how easy it actually was to over look. I wondered if was just my dysfunctional way of thinking, and so I let it go.
Perhaps some rewording may help others. Then again, maybe its just the chemicals in the water were drinking.:cool:
Re: How do EZ-Pages work?
if anybody was wondering about the answer to my bonehead question....
you need a complete path back to the ez page... otherwise Dreamweaver was just tagging the link to the original URL...
if linking back to Zencart pages leave off the zenid -- but keep the page and chapter that will be in the url for the ezpage you are on or linking to... for example
Quote:
htp://www.yoursite.com/index.php?main_page=page&id=12&chapter=0&/#namedanchor
clear as mud and simple for most folks that know html ... :no:
if it were easy it wouldn't be worth much money....
Re: How do EZ-Pages work?
I have a post but it's not getting any response,, so I'll try here with your indulgence.
I have created an ez-page with simple text content. I would like to put a link button / "click here" type of text inside the description area of one of my categories or products that will then display the ez-page within that "box".
can anyone help?? Or tell me how I should do this if I am incorrectly using an ez-page for this?? :dontgetit
1 Attachment(s)
Re: How do EZ-Pages work?
i have installed ezpages multi languages. All good but when i click on ezpages links i get an "Array":ohmy:
thank
Re: How do EZ-Pages work?
Quote:
Originally Posted by
highlander2
I have a post but it's not getting any response,, so I'll try here with your indulgence.
I have created an ez-page with simple text content. I would like to put a link button / "click here" type of text inside the description area of one of my categories or products that will then display the ez-page within that "box".
can anyone help?? Or tell me how I should do this if I am incorrectly using an ez-page for this?? :dontgetit
Anybody have any advice?:cry:
Re: How do EZ-Pages work?
Quote:
Originally Posted by
highlander2
I have a post but it's not getting any response,, so I'll try here with your indulgence.
I have created an ez-page with simple text content. I would like to put a link button / "click here" type of text inside the description area of one of my categories or products that will then display the ez-page within that "box".
can anyone help?? Or tell me how I should do this if I am incorrectly using an ez-page for this?? :dontgetit
What are you displaying on your ezpages that can't be displayed on your product or category description pages?
Is there really any need for an extra page? Customers will soon get tired of clicking to view another page and then having to go back to the product description page to make the order.
If you want it for just a few products/categories then put the link in in the product/category description HTML editor.
Re: How do EZ-Pages work?
@highlander2
If I understand correctly, have created information in an EZ-Page that you want to be available on, for example, the product information page for some products.
If that is the case, then EZ-Pages is not the right solution. That is used for building or re-directing to whole pages. Although you could probably display the page inside an iframe, it would have all the headers, sideboxes and footers duplicated inside the frame and would look gross.
What you actually need to use is to create a new file in your languages/english/html_includes folder and then use the Define Pages Editor to edit the content. This is the editor that deals with blocks of HTML that can be inserted into pages, as opposed to whole pages.
You would then need to add something such as the following to your tpl_product_info_display.php template
PHP Code:
if (in_array($_GET['products_id'], explode(",",'1,2,3,101,102,103'))) {
include(zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', 'YOUR_DEFINE_FILENAME', 'false');
}
in order to include the text for those pages where it is relevant.
Note - I have not tested this specific code, but use similar approaches to add new content about age suitability, product FAQs and awards won on this site currently under development.
Re: How do EZ-Pages work?
Quote:
Originally Posted by
kuroi
@highlander2
What you actually need to use is to create a new file in your languages/english/html_includes folder and then use the Define Pages Editor to edit the content. This is the editor that deals with blocks of HTML that can be inserted into pages, as opposed to whole pages.
You would then need to add something such as the following to your tpl_product_info_display.php template
PHP Code:
if (in_array($_GET['products_id'], explode(",",'1,2,3,101,102,103'))) {
include(zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', 'YOUR_DEFINE_FILENAME', 'false');
}
in order to include the text for those pages where it is relevant.
Note - I have not tested this specific code, but use similar approaches to add new content about
age suitability,
product FAQs and
awards won on this site currently under development.
Thanks Kuroi ! The product FAQ example you provided above is what I am looking for.
The information is essentaially optional for interested people to view. Including it all in the product description would make the page very long and I think would turn off some people.
How do I do the Product FAQ example you listed?