Results 1 to 10 of 995

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: All Business template Support Thread

    Unfortunately, for reasons of a non-disclosure and confidentiality agreement with the client, I can't post the link...

    But what I will do is see if I can replicate the issue on a clean install of 1.5 with JUST the all_business template installed, and if it re-appears, I'll PM you that link...
    20 years a Zencart User

  2. #2
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: All Business template Support Thread

    Quote Originally Posted by schoolboy View Post
    Unfortunately, for reasons of a non-disclosure and confidentiality agreement with the client, I can't post the link...

    But what I will do is see if I can replicate the issue on a clean install of 1.5 with JUST the all_business template installed, and if it re-appears, I'll PM you that link...
    See this tpl_header.php file from the most recent version of the template package. I belive that all of the div and /div tags match up. I have commented them in the file:

    Code:
    <?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 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 {
    
    }
    ?>
    
    
    
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    
    <!--bof headerWrapper--><div id="headerWrapper">
    <!--bof navMainWrapper--><div id="navMainWrapper">
    <!--bof navMain--><div id="navMain">
        <ul class="back">
        <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 } } ?>
    
    												
        <li><img src="<?php  echo $template->get_template_dir('',DIR_WS_TEMPLATE, $current_page_base,'images').'/'.HEADER_ICON_CART ?>" alt="cart icon" class="cart-icon"  /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?> - <? echo $_SESSION['cart']->count_contents();?> item(s) - <? echo $currencies->format($_SESSION['cart']->show_total());?></a> | </li>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <?php }?>
    </ul>
    <!--eof navMain--></div>
    <br class="clearBoth" />
    <!--eof navMainWrapper--></div>
    
    <!--bof navMainSearch--><div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?>
    <!--eof navMainSearch--></div>
    
    
    <!--bof logoWrapper--><div id="logoWrapper">
    <!--bof logo--><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>'; ?>
    <?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
    <!--bof taglineWrapper--><div id="taglineWrapper">
    <?php
                  if (HEADER_SALES_TEXT != '') {
    ?>
    <!--bof tagline--><div id="tagline"><?php echo HEADER_SALES_TEXT;?>
    <!--eof tagline--></div>
    <!--eof taglineWrapper--></div>
    <?php
                  }
    ?>
    <?php
                  if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
                    if ($banner->RecordCount() > 0) {
    ?>
    <!--bof bannerTwo--><div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?>
    <!--eof bannerTwo--></div>
    <?php
                    }
                  }
    ?>
    <!--eof logo--></div>
    
    <?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>
    
    
    <!--eof logoWrapper--></div>
    
    <br class="clearBoth" />
    
    
    
    <!--bof header-lan-curr--><div id="header-lan-curr">
    <?php require(DIR_WS_MODULES . 'sideboxes/languages_header.php'); ?>
    <?php require(DIR_WS_MODULES . 'sideboxes/currencies_header.php'); ?>
    <!--bof clearBoth--><div class="clearBoth">
    <!--eof clearBoth--></div>
    <!--eof header-lan-curr--></div>
    
    
    
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    
    
    <?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 headerWrapper--></div>
    <?php } ?>
    I removed the other comments for clarity.

    Thanks,

    Anne
    Last edited by picaflor-azul; 6 Jul 2012 at 06:34 PM.

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: All Business template Support Thread

    Hi Anne

    Thanks for taking time on this...

    I installed a totally CLEAN ZC1.5, then put in the all_business template - and like you say, it DOES NOT give the #headerWrapper behaviour I am experiencing on the other site.

    It must therefore be something we did internally here... I will ask my team to look into it, and tell me how they are installing the template and ZC...

    I appreciate your attention to this... and if/when I find the reason for the behaviour, I'll come back to this thread to tell others what caused it and why... If they have the same issue, they will be able to correct it.
    20 years a Zencart User

 

 

Similar Threads

  1. v150 facebook all [support thread]
    By sourceaddons in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 19 Mar 2019, 04:10 PM
  2. Scuro Template Support Thread
    By brandonturpin in forum Addon Templates
    Replies: 11
    Last Post: 12 Mar 2015, 09:45 PM
  3. All Business template -v1.5
    By heloparis in forum Addon Templates
    Replies: 5
    Last Post: 9 Apr 2012, 03:00 PM
  4. Business Activity Report 1.5.0 Support Thread
    By gharls in forum All Other Contributions/Addons
    Replies: 23
    Last Post: 6 Apr 2012, 11:12 PM
  5. DigitalShop Template Support Thread
    By blingthemes in forum Addon Templates
    Replies: 19
    Last Post: 9 Mar 2011, 07:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg