Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26
  1. #21
    Join Date
    Sep 2005
    Posts
    78
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Both our methods do not use /* */. (php comment)

    Look closely at what we did. We both uses <!-- for the beginning and --> for the end. (html comment)

    Don't use /*

    */

    USE <!--

    -->

    <!-- PLEASE NOTE, I ADDED THIS BEGINNING COMMENT MARKUP. IT WAS NOT ORIGINALLY HERE.

    <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></l
    i>
    <?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_CONTENT
    S; ?></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>

    --> NOTE, AND HERE I ADDED THE ENDING COMMENT MARKUP. IT WAS NOT ORIGINALLY HERE.

  2. #22
    Join Date
    Mar 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Hey Bluetooth,<br>
    <br>
    Thank you for that, but that is not what I thought I meant.<br>
    <br>
    I want to remove the categories that are both on the left hand side and are repeated below the logo using the classic style template.<br>
    <br>
    I wish to have the products/categories on the left hand column menu ONLY, not at the top aswell as it clutters the site as I have 9.5k+ products and it will ever expand.<br>
    <br>
    Any help on that, I am sorry if I thought that was called the navigation bar <br>
    <br>
    Ken.<br>
    http://modofinder.com/

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

    Default Re: header navigation bar?

    For that, you want admin > Configuration > Layout Settings > Categories-Tabs Menu > set to off.

  4. #24
    Join Date
    Mar 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Hiyas,

    Thank you ever so much! Its alot more cleaner and crisp now, thank you yet again!

    My next daunting task is to create an override...wish me luck

    Ken.
    http://modofinder.com/

  5. #25
    Join Date
    Oct 2007
    Location
    Australia
    Posts
    843
    Plugin Contributions
    0

    Default Re: header navigation bar?

    Hey Ken, overides may seem daunting but once you get into the swing of it, you'll be fine....when I installed my first Zen Cart, I happily edited away at the original files before I ever read about overides....bad me LOL, this time around it has been much easier....basically everywhere there is a classic folder, create your custom folder, and copy files over to them. It is also a good idea to keep a txt file saved with notes on any core files that you change since there are some that can't be over-ridden....pity that never occured to me before I started LOL but better late than never!

    The tutorial section has some really good articles, just a few:

    https://www.zen-cart.com/tutorials/i...hp?article=143
    https://www.zen-cart.com/tutorials/i...hp?article=142
    https://www.zen-cart.com/tutorials/i...hp?article=230

    Make use of the search feature here too, I was able to do heaps on my own without asking just by searching, but if you can't find what you're looking for there's lots of help here too
    HunnyBee Design
    "A man's manners are a mirror in which he shows his portrait." ~ Johann Wolfgang von Goethe

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

    Default Re: header navigation bar?

    And remember, only copy files to your custom template folders if you need to edit them. There is no benefit, and added hassle, to having unedited files sitting in your template folders.

 

 
Page 3 of 3 FirstFirst 123

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