Page 1 of 3 123 LastLast
Results 1 to 10 of 26
  1. #1
    Join Date
    Oct 2005
    Posts
    107
    Plugin Contributions
    0

    Default header navigation bar?

    Hi all
    Ive had a good look around but can't seem to find any reference to the header navigation bar.

    I wish to remove it, I am using 1.3.0.2.

    And: Is there a template that points to all the areas of the shop and gives names as there was in 1.2.6,

    Regards
    Andy

  2. #2
    Join Date
    Jan 2005
    Location
    Lake Havasu, AZ
    Posts
    1,149
    Plugin Contributions
    0

    Default Re: header navigation bar?

    This depends on which header nav bar you are wanting to remove.

    If it is is the header bar which shows all of your categories - that is the Category Tabs menu and can be turned off in Configuration / Layout Settings in the admin.

    If it is the Top bar with Home - etc. It is EZPages, and they can be turned off in the admin under Congifuration /EZPages

    If it is the very top home / login / checkout that is in the file includes/templates/YOURTEMPLATE/common/tpl_header (it is commented and is the header navigation) There's also a place to turn it off in admin that I simply cannot think of right now.

    If it is the header menu that is trailing you are you navigate (It changes from HOME to HOME : CATEGORY : PRODUCT as you navigate your site) that is the Breadcrumb and it is turned on / off in the Configuration / Layout settings as well.

    Hope that helps
    When the world gets in my face I say Have A Nice Day.
    * I DO Think and I HAVE BEEN Zenned - therefore, I AM * I donate - do you?
    Custom Templates and Zen Services CRS Designs, Inc.

  3. #3
    Join Date
    Oct 2005
    Posts
    107
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Thats the one below.

    If it is the very top home / login / checkout that is in the file includes/templates/YOURTEMPLATE/common/tpl_header (it is commented and is the header navigation) There's also a place to turn it off in admin that I simply cannot think of right now.

    Thanks for the reply.

    Andy

  4. #4
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: header navigation bar?

    AFAIK there isn't a switch specifically for turning ON/OFF the header navigation. However, in your override copy of tpl_header.php, you can remove or comment out the following:
    Code:
    <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>

  5. #5
    Join Date
    Aug 2006
    Posts
    98
    Plugin Contributions
    0

    Default Re: header navigation bar?

    LIB, do you remove all tha tcoding? I was looking 4 the same info...

  6. #6
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Yes. That code is from the default tpl_header.php file located in
    includes/templates/template_default/common/

    The code can be commented out or removed. Try commenting out the code first to make sure the results are what you are looking for. It looks a little different in the classic template override of tpl_header.php. There it is encapsulated in a table. You should be able to find the same area of code. Make sure you edit a copy placed in your own custom template override directory.

    Always make backups of files BEFORE making modifications. :)

  7. #7
    Join Date
    Sep 2006
    Location
    Chicago
    Posts
    51
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Rather than turning it off I want to edit the links in that bar. I want to have home, account, cart, mission, and contact while also having the search bar at the bottom. Can I edit what is in this bar in the admin section or do I have to edit php files?

  8. #8
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Can I edit what is in this bar in the admin section or do I have to edit php files?
    You will have to edit the tpl_header.php

  9. #9
    Join Date
    Sep 2006
    Location
    Chicago
    Posts
    51
    Plugin Contributions
    0

    Default Re: header navigation bar?

    I look at the header.php and it looks pretty daunting. I would add the links I want up there but I am not sure of the Constants names and whatnot. Maybe there is something simple I just don't know of? Or would this require a great deal of work, ie creating new php files and whanot?

  10. #10
    Join Date
    Aug 2006
    Location
    West La
    Posts
    17
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Do any of you know how to change that top HOME and LOGIN font color? I thought you were supposed to change :

    TD.headerNavigation A, TD.headerNavigation A:visited, td.footertop a {
    font-weight: bold;
    color: ##9da7ad;
    }

    (in the stylesheet_original.css file)

    But it doesn't work for me. "home" and "login" still appears white to me on the top of the page as well as the bottom where the footer is.
    Is there another area where I'm supposed to change the font color as well? Please help! I've been trying to figure this out for 6 hours.
    Thanks

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Move header navigation bar.
    By Astarkley in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Sep 2007, 04:59 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