here it is...
<?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 4066 2006-08-06 05:50:06Z ajeh $
*/
?>
<div id="headerWrapper">
<!--bof-branding display-->
<div id="logoWrapper">
<div id="logo"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
<div id="navMain">
<ul class="forward">
<?php if ($_SESSION['customer_id']) { ?>
<li><p style="text-align: left; margin-top: -5px; margin-bottom: -5px"><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li>
<li><p style="text-align: left; margin-top: -5px; margin-bottom: -5px"><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><p style="text-align: left; margin-top: -5px; margin-bottom: -5px"><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
<li><p style="text-align: left; margin-top: -5px; margin-bottom: -5px"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li>
<?php } } ?>
<li><p style="text-align: left; margin-top: -5px; margin-bottom: -5px"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
</div></ul>
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
<div id="taglineWrapper">
<?php
if (HEADER_SALES_TEXT != '') {
?>
<div id="tagline"><?php echo HEADER_SALES_TEXT;?></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
}
}
?>
</div>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
</div>
<!--eof-branding display-->
<?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) {
?>
<?
//<!--bof-drop down menu display-->
// <?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>
// <!--eof-drop down menu display-->
?>
<!--eof-header logo and navigation display-->
<!--bof-navigation display-->
<div id="navMainWrapper">
<div id="navMain">
<ul class="back">
</ul>
</div>
<div class="navMainSearch center"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<br class="clearBoth" />
</div>
<!--eof-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-->
<!--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 } ?>
Ok. I'm pm'ing you a copy of the file, but to be honest, it was SO completely hacked to bits that I don't know if I've got it back to working condition or not. So my advice to you, if it causes some big errors, is to reload the ORIGINAL file, then come here to ask for help to get it where you want it.
It also looks like you're using an older version of the tempate, and I would suggest upgrading to the new one, and starting fresh.
Everything seemed working fine with this wonderful templateI until I found out...
The drop menu is working perfectly in Fire Fox (mac & win) and Safari (mac), but the drop down menu won't appear in IE (win).
I've reinstalled the original stylesheet, stylesheet-header menu, tpl_drop_menu, but no luck.
COWOA and time zone offset mods have been installed, but I don't know if they are causing this problem.
Has anyone had the same problem?
Any advice would be appreciated.
ZC 1.3.7
chadderuski, jettrue,
I reinstalled that csshover.htc file, and it works like a charm.
Thank you! Thank you! Thank you!
ZC 1.3.7
Hi JetTrue,
Well I moved all the apple zen folders to a subfolder titled 'old template files' to start fresh. I installed Apple Zen 2.0 template structure and then added the Alternate Header 1.1a module.
It now looks like this: http://vardanyanjewelry.net Where do I go from here?
Thanks again for your assistance,
Michael
I dunno if this issue has been addressed...
I just installed the template and I am looking though my page. In the Information>about us it shows a 404 errorage not found and the site map.
Did I just screw something up and how do I fix it? thanks!!!