Ya, The Footer is next..
But the code you gave me for the image did not work.
if I use the code you gave me the pages do not show at all. ???
Thanks in advance if you can help....
here is the code that I have, my default tpl_header:
<?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-2016 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: Author: DrByte Sat Oct 17 22:01:06 2015 -0400 Modified in v1.5.5 $
*/
?>
<?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 zen_output_string_protected(urldecode($_GET['error_message']));
}
if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
echo zen_output_string_protected($_GET['info_message']);
}
?>
<!--bof-header logo and navigation display-->
<?php if (!isset($flag_disable_header) || !$flag_disable_header) { ?>
<header>
<div class="title-bar hide-for-large">
<div class="title-bar-left">
<button class="menu-icon" type="button" data-toggle="offCanvas"></button>
</div>
<?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . '<img class="small-logo" src="mthumb.php?src=' . DIR_WS_TEMPLATE . 'images/' . HEADER_LOGO_IMAGE . '&zc=2&w=' . HEADER_SMALL_LOGO_WIDTH . '&h=' . HEADER_SMALL_LOGO_HEIGHT . '"/>' . '</a>'; ?>
<div class="title-bar-right">
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><i class="fi-shopping-cart medium"></i></a>
<?php } ?>
</div>
</div>
<div class="grid-container">
<div class="grid-x grid-padding-x">
<div class="large-6 cell show-for-large"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . '<img class="large-logo" src="mthumb.php?src=' . DIR_WS_TEMPLATE . 'images/' . HEADER_LOGO_IMAGE . '&zc=2&w=' . HEADER_LOGO_WIDTH . '&h=' . HEADER_LOGO_HEIGHT . '"/>' . '</a>'; ?></div>
<div class="small-12 medium-10 medium-offset-1 large-4 large-offset-2 cell "><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
<div class="large-12 cell show-for-large">
<ul class="dropdown menu" data-dropdown-menu>
<li class="has-submenu is-down-arrow top-list">
<a href="#"><?php echo TEXT_NAVBAR_CATEGORIES; ?></a>
<?php require($template->get_template_dir('tpl_modules_categories_tabs.php', DIR_WS_TEMPLATE, $current_page_base, 'templates') . '/tpl_modules_categories_tabs.php'); ?>
</li>
<?php if ($_SESSION['customer_id']) { ?>
<li class="top-list">
<a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a>
</li>
<li class="top-list">
<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 class="top-list">
<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 class="top-list">
<a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
</li>
<li class="top-list">
<a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>
</header>
<?php } ?>
Bookmarks