Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Feb 2007
    Posts
    80
    Plugin Contributions
    0

    Default mainNav sort order - move Home link

    Hello, I am working on HTTP://wholesaleforms.com and have set up a main navigation with the main categories, Home and Login links. How do I move the Home link to the front of the list???

    Thanks in advance.

    Jason

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: mainNav sort order - move Home link

    Az,
    Take a look here and see what the sort order is set for the Header ..
    admin panel/ tools/ EZ-Pages

  3. #3
    Join Date
    Feb 2007
    Posts
    80
    Plugin Contributions
    0

    Default Re: mainNav sort order - move Home link

    Thank you for your reply. Unfortunately, I did not use EZ pages to make that menu. I did it about 6 months ago and I don't remember exactly how I did it. I hope I don't have to re-do it with EZ pages as I am already way over my time budget.

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: mainNav sort order - move Home link

    Az,
    Simple lets try this:
    admin panel/ tools/ developers too kit

    Search for other forms
    here you will find the file to edit for the header

  5. #5
    Join Date
    Feb 2007
    Posts
    80
    Plugin Contributions
    0

    Default Re: mainNav sort order - move Home link

    This is what I came up with: tpl_modules_categories_tabs.php

    I have tried to move things around some, but my PHP skills are a bit weak and can only manage to make the category links disappear.

    Here is what the file looks like:

    Code:
    <?php
    /**
     * Module Template - categories_tabs
     *
     * Template stub used to display categories-tabs output
     *
     * @package templateSystem
     * @copyright Copyright 2003-2005 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_modules_categories_tabs.php 3395 2006-04-08 21:13:00Z ajeh $
     */
    
      include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CATEGORIES_TABS));
    ?>
    <?php if (CATEGORIES_TABS_STATUS == '1' && sizeof($links_list) >= 1) { ?>
    <div id="navCatTabsWrapper">
    <div id="navCatTabs">
    <ul>
    <?php for ($i=0, $n=sizeof($links_list); $i<$n; $i++) { ?>
      <li><?php echo $links_list[$i];?></li>
    <?php } ?>
    <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>
    <?php } ?>

  6. #6
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: mainNav sort order - move Home link

    Az,
    Use the web developers kit and search for this:
    navCatTabs
    I sent you a PM

 

 

Similar Threads

  1. v151 Product Sort within Category - having problems changing the default sort order
    By Don Wagner in forum Customization from the Admin
    Replies: 4
    Last Post: 21 Oct 2012, 03:03 AM
  2. EZpage link going to home page - Order IS properly set
    By booghaboobaby in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 May 2011, 02:38 PM
  3. How to sort order link in Information slide-box???
    By Necro in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Oct 2007, 10:41 AM
  4. Move "home and login" link to category navigation
    By TheBlackCandle in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Sep 2007, 06:56 PM
  5. How to move the Top Home Link & Login
    By bfwdesigns in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Sep 2006, 01:50 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