I am quoting an older post for my exact same problem.

Sadly that member did not leave any details of a solution except to say they sorted it.

Would anyone have any idea where to put the extra code in the tpl_header.php file? -I attach a copy of it here.


I'm posting that template's tpl_header.php -- but am not sure it's as simple as that -- hoping that maybe possibly someone could please maybe possibly help me figure this out
Quote Originally Posted by aly22 View Post
good point, I did fail to mention that.
However, I cannot find the END of the logo/navigation section -- it doesn't seem to be commented in the file.

And so far, wherever I try to place the menu code it wipes out the rest of the template.

I'm using this template
and want the menu just below the main header graphic where the template actually has their horizontal navigation (which is actually ez-pages navigation)

I COULDNT UPLOAD THE FILE SO HERE IS ITS CONTENTS
PHP Code:
<?php
/**
 *         
 *                <!-- ====================================== -->
 *            </div>
 *            <div class="currency-form">
 *                <!-- ========== CURRENCIES ========= --><div></div>
 *
 *
 *
 *
 *
 * 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 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) {
?>


<script type="text/javascript">
    jQuery(window).bind("load", function() { 
    jQuery("div#mygalone").slideView(); 
    
        var slider_links = jQuery('.stripTransmitter li a');                
        var slider_links_index = 0;        
        function slider_intro(){                        
            slider_links.eq(slider_links_index).trigger('click');            
            slider_links_index++;            
            if(slider_links_index <= slider_links.size()){
                setTimeout(function(){slider_intro()}, 500000); //select change time
            }
            else if(slider_links_index > slider_links.size()){                
                slider_links.eq(0).trigger('click')
            }            
        }        
        slider_intro();
    
    
}); 
</script>


<div id="header">
    <div class="top">
        <div class="logo">
            <!-- ========== LOGO ========== -->
                <a href="<?php echo zen_href_link(FILENAME_DEFAULT);?>"><?php echo zen_image(DIR_WS_TEMPLATE.'images/logo.gif'); ?></a>
            <!-- ========================== -->
        </div>
        <div class="fright alignright">
            <div class="nav-links">
                <!-- ========== NAVIGATION LINKS ========== -->
                    <?php echo zen_draw_form('currencies'zen_href_link(basename(ereg_replace('.php',''$PHP_SELF)), ''$request_typefalse), 'get');?>
                <?php echo BOX_HEADING_CURRENCIES?>:&nbsp;
                <?                                        
                    if (isset($currencies) && is_object($currencies)) {                        
                      reset($currencies->currencies);
                      $currencies_array = array();
                      while (list($key, $value) = each($currencies->currencies)) {
                        $currencies_array[] = array('id' => $key, 'text' => $value['title']);
                      }                                        
                      $hidden_get_variables = '';
                      reset($_GET);
                      while (list($key, $value) = each($_GET)) {
                        if ( ($key != 'currency') && ($key != zen_session_name()) && ($key != 'x') && ($key != 'y') ) {
                          $hidden_get_variables .= zen_draw_hidden_field($key, $value);
                        }
                      }
                    }                                        
                ?><?php echo zen_draw_pull_down_menu('currency'$currencies_array$_SESSION['currency'], ' onchange="this.form.submit();"') . $hidden_get_variables zen_hide_session_id();?>
                
&nbsp; | &nbsp;  

<?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'?><?php echo HEADER_TITLE_CATALOG?></a>
                <?php if ($_SESSION['customer_id']) { ?>
                    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_LOGOFF'''SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF?></a>
                    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_ACCOUNT'''SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT?></a>
                <?php
                      
} else {
                        if (
STORE_STATUS == '0') {
                
?>
                    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_LOGIN'''SSL'); ?>"><?php echo HEADER_TITLE_LOGIN?></a>
                <?php } } ?>

                <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
                    &nbsp; | &nbsp; <a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT?></a>
                <?php }?>        
        
                </form>    
                
                <!-- ====================================== -->
            </div>
            <div class="lang">
                <!-- ========== LANGUAGES ========== -->
                <?php if (!isset($lng) || (isset($lng) && !is_object($lng))) {
                    
$lng = new language;
                  }

                  
reset($lng->catalog_languages);

                  while (list(
$key$value) = each($lng->catalog_languages)) {
                    echo 
'<a href="' zen_href_link($_GET['main_page'], zen_get_all_get_params(array('language''currency')) . 'language=' $key$request_type) . '">' zen_image(DIR_WS_LANGUAGES.$value['directory'].'/images/'.$value['image'], $value['name'], ''''' style="vertical-align:middle;"') . '</a>';
                  }
                 
?>                
                <!-- =============================== -->
            </div>
            <div class="cart">
                <!-- ========== SHOPPING CART ========== -->
                <?php 
                    
if ($_SESSION['cart']->count_contents() == 1) {
                        
$items $_SESSION['cart']->count_contents() . ' item';
                    } else {
                        
$items $_SESSION['cart']->count_contents() . ' items';
                    }
                
?>  
                <strong><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL');?>"><?php echo HEADER_TITLE_CART_CONTENTS?></a></strong>: now in your cart <a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART'''NONSSL');?>"><?php echo $items;?></a>
                <!-- =================================== -->
            </div>
        </div>
    </div>
    <div class="wrapper">
        <!-- ========== MENU ========== -->
            <div class="menu">
                <!--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>
        <!-- ========================== -->
        <div class="search-form">
            <!-- ========== SEARCH ========== -->
                <?php require($template->get_template_dir('tpl_search_header.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_search_header.php');?>   
            <!-- ============================ -->
        </div>
    </div>
    




<!-- ========CAROUSEL======= -->

<!-- <?php require($template->get_template_dir('tpl_slider.php',DIR_WS_TEMPLATE$current_page_base,'common'). '/tpl_slider.php');?>  -->
    
             
    
<?php ?>