Results 1 to 10 of 14

Hybrid View

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

    Default Re: mainNav sort order - move Home link

    [FONT=Arial]when I looked up <div id="navCatTabs"> I only come up with [/FONT][FONT=Arial]tpl_modules_categories_tabs.php. I think that is where I need to change things, but I can't figure out what to switch around.[/FONT]

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

    Default Re: mainNav sort order - move Home link

    I did it! I just kept tweaking [FONT=Arial]tpl_modules_categories_tabs.php [/FONT][FONT=Arial]until I got it to work. I am not sure why it did what it did, but as long as it works. Thanks.
    [/FONT]

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

    Default Re: mainNav sort order - move Home link

    Excellent,
    Can you post the changes so fellow zenners with the same problem can view...

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

    Default Re: mainNav sort order - move Home link

    So, What I did was this, in the file includes/templates/YOUR_template/templates/ tpl_modules_categories_tabs.php, I moved this section to the top of the <ul>:

    Code:
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php for ($i=0, $n=sizeof($links_list); $i<$n; $i++) { ?>
      <li><?php echo $links_list[$i];?></li>
    <?php } ?>
    So that it looks like:

    Code:
     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>
    
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    <?php for ($i=0, $n=sizeof($links_list); $i<$n; $i++) { ?>
      <li><?php echo $links_list[$i];?></li>
    <?php } ?>
    <?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...................
    And that did the trick.

 

 

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