Ahh i see ok i will try the default template and see what happens.
Will i lose anything changing between the templates? Also, yes i did try each interger 1 to 5 :)
Many thanks
Ahh i see ok i will try the default template and see what happens.
Will i lose anything changing between the templates? Also, yes i did try each interger 1 to 5 :)
Many thanks
Ok with the default template the link does come up but not in the place i expected it to lol
I wanted the more information link to be next to the categories at the top of the custom template, where as on the default template the more information link isnt located next to the category link.
Does that make sense? If not, i will take screenshots
No, it won't work that way. The EzPagesTop menu and the navCatTabs menu are two separate things.
My original suggestion was to just use the EZ pages menu in the header, with EZ pages using internal links to the category URLs you have in the Category tabs links now, in addition to the ones you want to add, and turning off the header category menu.
In other words, you would have EZ pages titled Virtual Offices, Business Centres, etc.
We'll also need to figure out why the EZ page menu doesn't work in your custom template.
Ok that makes sense :) But, if i add an EZ Page and remove the category header links, the EZ Page link doesnt show up with the template that i have....
So removing all the category links and having only EZ Page links isnt going to work eitherAs far as i can see/imagine
Hope that makes sense and thanks again for the suggestion! :)
Where are you seeing the link in the classic template? According to the view source of your custom template, if the ez-pages headerbar was showing, it would be just above your categories-tabs menu.on the default template the more information link isnt located next to the category link.
What do you have for Configuration > EZ-Pages Settings > EZ-Pages Display Status - HeaderBar ?
At the moment that is set to '1'
In the classic template the link comes below the category links in a green bar
You apparently do have the ez-page and header link set correctly, then. So your template must be interfering with it.
Can you post the content of your /includes/templates/your_template/common/tpl_header.php here?
Hope that helps, i have edited 1 lineCode:<?php /** * Common Template - tpl_header.php * * this file can be copied to /templates/your_template_dir/pagename<br /> * example: to override the privacy page<br /> * make a directory /templates/my_template/privacy<br /> * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br /> * to override the global settings and turn off the footer un-comment the following line:<br /> * <br /> * $flag_disable_header = true;<br /> * * @package templateSystem * @copyright Copyright 2003-2006 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: tpl_header.php 3392 2006-04-08 15:17:37Z birdbrain $ */ ?> <?php // Display all header alerts via messageStack: if ($messageStack->size('header') > 0) { echo $messageStack->output('header'); } if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) { echo htmlspecialchars(urldecode($_GET['error_message'])); } if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) { echo htmlspecialchars($_GET['info_message']); } else { } ?> <!--bof-header logo and navigation display--> <?php if (!isset($flag_disable_header) || !$flag_disable_header) { ?> <div id="headerWrapper"> <!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> </div><br /><div class="navMainSearch forward"> <a href='index.php?main_page=contact_us&zenid=uuqnuqtjsbmgt1gfenscph8lm7'>Contact Us</a> | Telephone : 0800 019 6769 or 0115 827 7208 </div> <br class="clearBoth" /> </div> <!--eof-navigation display--> <!--bof-branding display--> <div id="headerContent"> <div id="nameWrapper"></div> <?php if (HEADER_SALES_TEXT != '') { ?> <?php } ?> <!--bof-header ezpage links--> <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?> <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?> <?php } ?> <!--eof-header ezpage links--> </div> <br class="clearBoth" /> <!--eof-branding display--> <!--eof-header logo and navigation display--> <!--bof-optional categories tabs navigation display--> <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?> <!--eof-optional categories tabs navigation display--> </div> <?php } ?> <?php if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) { if ($banner->RecordCount() > 0) { ?> <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div> <?php } } ?>Which removed the standard search bar and replaced it with the above. I doubt that has modified the EZ-Pages sectionCode:<a href='index.php?main_page=contact_us&zenid=uuqnuqtjsbmgt1gfenscph8lm7'>Contact Us</a> | Telephone : 0800 019 6769 or 0115 827 7208
Anyways, thanks for your time :)
This shows that the ez-pages menu is being called correctly. The other possibility is that the file called (/includes/templates/your_template/templates/tpl_ezpages_bar_header.php) is disabled or corrupt. If there is not one under /your_template/, there should be a stock copy under /template_default/.PHP Code:<!--bof-header ezpage links-->
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
<?php } ?>
<!--eof-header ezpage links-->
You should NEVER have the zenid hard-coded in a link, either on your site or published in an ad somewhere. That will put anyone who uses it into the same session and could cause confusion and customer problems....?main_page=contact_us&zenid=uuqnuqtjsbmgt1gfenscph8lm7'>Contact Us</a>...