@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.
Bookmarks