You've got the header file all whacked up. (that's the technical term) :P. PM me a copy of the tpl_header.php file.
Printable View
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.
chadderuski, jettrue,
I reinstalled that csshover.htc file, and it works like a charm. :clap:
Thank you! Thank you! Thank you!
I have downloaded and installed your template. Thank you for creating such an awesome one!
My issue should be pretty easy to solve. I want to know how to add the text below the products/sub categories in the category view.
Like you have here:
http://www.zencart137.jadetrue.com/i...=index&cPath=1
Where it says "Here is where you can have additional information about your category, without pushing down the products (or additional subcategories) too far down the page."
Hello
I am using Apple Zen, and I have got to say, it's fab, very easy to find your way around and change colours etc.
I have one problem, I recently had my zen cart installation copied from one domain to another, since then my meta tags do not seem to be working, i.e. I have changed the title and the site tag line in the meta_tag.php file but it doesn't reflect that in my browser, my browser is showing http://www.mydomain.com/catalogue and does not change no matter what I do
I'm posting this question here as I have read in other threads that you need to change the html_header file within folder YOURTEMPLATE/common. I would change this file but apple_zen does not seem to have one in the template folder. Is there anything else I need to change/check?
This was working ok in my old domain which says to me that some file or piece of code went missing. I don't know how to repair this.
Is there something I'm missing? I hope somebody can help