Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Join Date
    Jul 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: logo first then header navigation

    Quote Originally Posted by kobra View Post
    The site you referenced has removed the nav completly, not what I would do or recommend as several important links like the login/logout, cart, account, etc. appear there at the appropriate times.

    To rearrange open a copy of the includes/templates/template_default/tpl_hrader.php file and find the bof and eof for the nav section... you can re-order this as long as you move the complete block before or after another complete block of code - save and upload to your template override folder
    Aloha Kobra,

    I implemented your suggestion and it shifted the nav below my header. Slight problem though: it caused my categories sidebox and slideshow to shift. Take a look: www.hawaiianwoodys.com/store

    Any advice?

    Mahalo in advance for your time,

    Kelly

  2. #12
    Join Date
    Jul 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: logo first then header navigation

    **Update: this is only occuring in Firefox. Compare it with IE and you'll see the difference.

  3. #13
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: logo first then header navigation

    Never design with a quirky browser as IE. Always design for the most compliant browser available and correct th IE quirks that surface.

    As you must have Fire Fox, if you do not have the web developers tools extentions get them. With them I can temporairly replace your css and view the effect on screen.

    What I did was replace all the style sheet with the one from the 1.3.7 classic and this corrects the alignment issues. So this indicates that there is something theat you altered that is causing this. Compare them and correct
    Zen-Venom Get Bitten

  4. #14

    Default Re: logo first then header navigation

    Quote Originally Posted by gjh42 View Post
    Read post #3 above.

    /your_template/common/tpl_header.php.
    Bingo, just what i have been looking for. Thanks a million!

  5. #15
    Join Date
    Jan 2007
    Posts
    66
    Plugin Contributions
    0

    Default Re: logo first then header navigation

    I have been trying to move the HOME /LOGIN to below the header and have not be able to get it right. www.summersjewels.com i have been to the tpl_header.php file and have tried moving the blocks around and nothing is working. I have attached the code below. Please let me know what i need to move and to were!!

    <?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 $
    */
    ?>
    <?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) {
    ?>
    <div id="headerWrapper">
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <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 } } ?>

    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php }?>
    <li><a href="http://www.myspace.com/summersjewels">My Space</a></li>

    </ul>
    </div>
    <div class="navMainSearch forward"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->



    <!--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>
    <?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>
    <br class="clearBoth" />
    <!--eof-branding display-->

    <!--eof-header logo and 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 } ?>

  6. #16
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: logo first then header navigation

    Move all the code for the highlighted section here:

    Code:
    <!--eof-branding display-->
    
    <!--bof-navigation display-->
    ALL CODE BETWEEN ABOVE TO BELOW
    <!--eof-navigation display-->
    
    <!--eof-header logo and navigation display-->
    Zen-Venom Get Bitten

  7. #17
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: logo first then header navigation

    Kobra,

    I have tried this and don't get anywhere. Get a blank page...

    I moved:
    <!--bof-navigation display-->

    <div id="navMainWrapper">

    <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 } } ?>



    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>

    <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>

    <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>

    <?php }?>

    </ul>

    </div>

    <div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>

    <br class="clearBoth" />

    </div>

    <!--eof-navigation display-->


    cut an moved it below
    <!--eof-branding display-->


    Why is it not working?
    Live and learn... the Zen way.

  8. #18
    Join Date
    Dec 2004
    Posts
    1,031
    Plugin Contributions
    0

    Default Re: logo first then header navigation

    After hours of trying, I abandoned Notepad ++ and tried the same thing with dreamweaver and it WORKED. What the XXXX is Notepad ++ doing?!
    So this is a warning maybe to somebody else. Choose your editor wisely.
    Live and learn... the Zen way.

  9. #19
    Join Date
    Dec 2004
    Location
    The Internet
    Posts
    81
    Plugin Contributions
    0

    Default Re: logo first then header navigation

    Try PSPad http://www.pspad.com. It's free and always worked very well for me.

  10. #20
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: logo first then header navigation

    Notepad++ has always worked perfectly for me. Maybe there is something about your computer setup that affects it badly.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Country selection first, then shop
    By HarroH in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 27 Jul 2011, 12:24 PM
  2. Remove the header navigation above logo
    By jewelery in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Jan 2010, 03:01 AM
  3. First payment then shipping
    By teva in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 12 Sep 2007, 04:51 AM
  4. authorize credit card first, then charge later
    By ryanf in forum General Questions
    Replies: 1
    Last Post: 1 May 2007, 12:53 AM

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