Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Add Home link to category listing

    I want to add Home to where the product categories are displayed.

    Such as Home | Product Category | Product Category

    I have been searching for this but I can not find it.

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Add Home link to category listing

    admin -> configuration -> layout settings -> Categories-Tabs Menu ON/OFF

    This will give you a "new navigation bar" which will list your categories.

  3. #3
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Re: Add Home link to category listing

    Actually that is already on.

    I just want to have the Home`link next to the categories.

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Add Home link to category listing

    OK, try this:

    in includes/templates/template_default/templates/tpl_modules_categories_tabs.php

    find this code:

    PHP Code:
    <div id="navCatTabsWrapper">
    <
    div id="navCatTabs">
    <
    ul
    Just below the <ul> add the following line of code:
    PHP Code:
    <li><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'?><?php echo HEADER_TITLE_CATALOG?></a></li>
    Save the file to includes/templates/YOUR_TEMPLATE/templates/tpl_modules_categories_tabs.php and upload it to your server.

  5. #5
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Re: Add Home link to category listing

    Excellent thank you very much.

    Would you also know where to change the CSS so I can change the styling of this area?

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Add Home link to category listing

    find the following declarations in your stylesheet

    #navCatTabsWrapper
    #navCatTabs

    apply the styling you want.

  7. #7
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Re: Add Home link to category listing

    Yeah I was using that before, but the categories are still grey. I also tried changing all the entries that use that to the same color, which was not grey.

    Thanks again.

  8. #8
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Re: Add Home link to category listing

    Slightly new variant of the same thing:

    You know in the category sidebar?

    Categories
    -----------

    Product Category
    Product Category
    Product Category
    Product Category
    etc



    I actually would like to have:

    Categories
    -----------------
    Home
    Product Category
    Product Category
    Product Category

    Is that possible?

  9. #9
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Add Home link to category listing

    Yes, it can be done as follows:

    in includes/templates/template_default/sideboxes
    Open tpl_categories.php and find the following line of code:

    PHP Code:
    for ($i=0;$i<sizeof($box_categories_array);$i++) { 
    JUST ABOVE this line add the following:

    PHP Code:
    $content .= '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'  HEADER_TITLE_CATALOG '</a>'
    Save the edited file to includes/templates/YOUR_TEMPLATE/sideboxes/tpl_categories.php and upload to your server.

  10. #10
    Join Date
    Jan 2007
    Posts
    88
    Plugin Contributions
    0

    Default Re: Add Home link to category listing

    I actually have that CSS Menu thing installed, so this has not worked, yet.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. ADD TO CART on Category Listing in One Category only
    By ald0413 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 31 Jan 2011, 07:05 PM
  2. Home link in category box
    By McGill in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Apr 2010, 07:50 PM
  3. Remove / Hide category link from category image on home page
    By Sushigal in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 15 Mar 2010, 11:50 PM
  4. Show Specific Category on Index Listing or Add Entire Category to Featured Products.
    By devnut in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 8 Oct 2008, 04:29 PM

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