Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / EZ-Pages link text not displaying

EZ-Pages link text not displaying

Locked

Views: 3,062

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
9 Jul 2009, 6:53 PM
#1
littlegdesigns2004 avatar

littlegdesigns2004

New Zenner

Join Date:
Oct 2004
Location:
Wisconsin,USA/Bermuda
Posts:
41
Plugin Contributions:
0

EZ-Pages link text not displaying

I am working on a site for someone in Italy. She used to use the Italian version of Zen Cart but she has now changed to using the regular version 1.3.8a (with security patch) with the Italian language pack (which is much easier to work with). I created a new template for her site and am having some issues with the EZPages header and footer display.

In the page's source code I can see the EZPages header links like this:

<!--bof-header ezpage links-->
<div id="navEZPagesTop">
  <a href="http://www.babynatura.it/index.php"></a>  
  <a href="http://www.babynatura.it/index.php?main_page=products_new"></a>  
  <a href="http://www.babynatura.it/index.php?main_page=specials"></a>  
  <a href="http://babynatura.forumfree.org"></a>  
  <a href="http://www.babynatura.it/index.php?main_page=contact_us"></a>  
  <a href="http://www.babynatura.it/index.php?main_page=page_3"></a>
</div>
<!--eof-header ezpage links-->
```You can see in here that the links are present but there is no text for them to display. All of the pages have titles in the Admin->Tools->EZ-Pages though.

Here is my common/tpl_header.php file:
<?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 [URL]http://www.zen-cart.com/license/2_0.txt[/URL] GNU Public License V2.0 * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $ */ ?> <?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-branding display--> <div id="logoWrapper"> <!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="forward"> <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> <?php if ($_SESSION['customer_id']) { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li> <?php } else { if (STORE_STATUS == '0') { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li> <?php } } ?> <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?> </ul> </div> <div class="clearBoth"></div> </div> <!--eof-navigation display--> </div> <div class="clearBoth"></div> <!--eof-branding display--> <!--eof-header logo and navigation display--> <!--bof-optional categories tabs navigation display--> <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div> <?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--> <!--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> <?php } ?> ```Here is the site: [http://www.babynatura.it](http://www.babynatura.it/)

The EZPages header links should display in the orange bar under the header image.

I am not a newbie with Zen Cart but the solution to this escapes me.

Thanks for your help.

17 Sep 2009, 7:04 PM
#2
andreahd avatar

andreahd

New Zenner

Join Date:
Sep 2009
Posts:
9
Plugin Contributions:
0

Re: EZ-Pages link text not displaying

hello you've been able to solve it? I can not see the links? any help? thank you very much!

17 Sep 2009, 8:25 PM
#3
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: EZ-Pages link text not displaying

Where do you want your EZ Pages to show? Header? Footer? Sidebox? Each EZ Page requires a page title, and position button (header, footer, sidebox) turned on (green button), with a (sort) order number.

If using in a sidebox, the sidebox must be turned on in Admin/Tools/Layout Boxes Controller. And also settings
must be turned on in Admin/Configuration/EZ-Pages Settings.

Hope this helps!

18 Sep 2009, 3:29 PM
#4
littlegdesigns2004 avatar

littlegdesigns2004

New Zenner

Join Date:
Oct 2004
Location:
Wisconsin,USA/Bermuda
Posts:
41
Plugin Contributions:
0

Re: EZ-Pages link text not displaying

I have the sidebox turned on and all the settings in the Header and Footer setup correctly. It isn't a problem with them not being set correctly but rather a problem with the code somewhere that is causing them not to display. I had to hardcode all the links to them which is obviously not ideal.

The site with the problems is in Italian and I know that the Italian version of Zen Cart requires an extra module in order to properly display EZPages but I actually didn't use the Italian version. I used the English version and then translated the pages to Italian so I could bypass this problem...which didn't work so well apparently.

4 Nov 2009, 7:52 PM
#5
sameerarehman87 avatar

sameerarehman87

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

Re: EZ-Pages link text not displaying

Does Any one can help i have the same problem...Header menu and footer is not showing i addad the Ezpages and all other setting but not working can any one help?

16 Nov 2009, 3:51 PM
#6
jcdk avatar

jcdk

Zen Follower

Join Date:
Oct 2009
Location:
Netherlands - NB
Posts:
144
Plugin Contributions:
0

Re: EZ-Pages link text not displaying

Please check your EZ pages settings under tools. If you forget a page title, nothing will display....of course.

Can you screenshot your EZ pages settings?

17 Nov 2009, 8:06 PM
#7
sameerarehman87 avatar

sameerarehman87

New Zenner

Join Date:
Oct 2009
Posts:
3
Plugin Contributions:
0

Re: EZ-Pages link text not displaying

I have the same problem can any one help?