Page 203 of 227 FirstFirst ... 103153193201202203204205213 ... LastLast
Results 2,021 to 2,030 of 2267
  1. #2021
    Join Date
    Jan 2012
    Posts
    17
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Quote Originally Posted by gjh42 View Post
    Are you certain the Recipes category is enabled in admin? Catalog > Categories/Products > red/green dot. What type of product are the recipes? If they are restricted to Document-Product, they will not appear in the categories menu if you have set Configuration > Layout Settings > Split Categories Box to true.
    I set the Configuration > Layout Settings > Split Categories Box to false and it still didn't show up. Once I removed the restrict to General setting, it showed up. I will just have to manually choose the right product type when entering the recipes.

    Thanks for the help.

  2. #2022
    Join Date
    Dec 2011
    Posts
    3
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hi, ive been stuck on this for ages now ive managed to put image links on for my product categories but i cant get it to work for the specials, new products and all products links. is there a cpath for these categories?
    thanks

    and the site is moley.comlu.com

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

    Default Re: Categories Dressing

    Those are not categories, and there is no cPath for them. Instead, they have URLs with main_page=products_all or whatever.

    I have added the ability to do image substitution for those links, but will have to check on whether it is in the v2.7.3 standard files, or just a tip posted in this thread.
    Last edited by gjh42; 21 Jan 2012 at 05:07 PM.

  4. #2024
    Join Date
    Oct 2011
    Posts
    68
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hello,

    We have a lot of categories and would it be possible to show just some of it on the main page?
    For example, we have 10 main categories and each one has at least 10 subcategories.
    Instead of showing all of them, we would like to show all main categories but only the first five of the subcategories like below.

    Main Cat 1
    Subcat Cat 1
    Subcat Cat 2
    Subcat Cat 3
    Subcat Cat 4
    Subcat Cat 5
    View All

    and so on.
    And when a visitor clicks on a subcategory, only the categories in that main category will show or be active on the sidebox.
    Sorry if it sounds too confusing, been working on it all day and its quite late now.

    Regards

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

    Default Re: Categories Dressing

    Limiting the visible subcats for any one top cat is easy:

    #categories li li+li+li+li+li+li {display: none;}

    for hiding sixth and following subcats.

    But showing the hidden subcats on selection would require a code change, as the classes that indicate this status are on the <a> elements and out of the selector ancestor stream.

    There is a standard option in the defines to show all top cats when none are selected, then show only the whole active tree or the active branches when one is selected.
    Last edited by gjh42; 1 Feb 2012 at 03:55 AM.

  6. #2026
    Join Date
    Oct 2011
    Posts
    68
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hello,

    Decided not to show any subcats on the main page but cant get any of the top categories either.
    The closest setting to what we need is 5/0/2 but this doesnt show the top categories. I tried the other settings but it doesnt work or maybe my combination is wrong.

    I sent you the link to the site to see our current settings.

    Thanks

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

    Default Re: Categories Dressing

    Try 2|0|2 for all top cats when none is selected, active tree only when one is selected.

    If none of these gets the exact setup you want, a custom case can be written for the define (there are various examples earlier in this thread).

  8. #2028
    Join Date
    Oct 2011
    Posts
    68
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hello,

    Tried 2/0/2 but it shows top and sub categories on main page. It also shows the top category on the active category which we would like to hide so I think setting 5 is the closest to this.
    Just need top categories on main page.

    Thanks

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

    Default Re: Categories Dressing

    You have chcategories installed, which will show top and subs on the homepage. You need the base Categories Dressing package for your situation. Case 2 will show top cat as well as subcats when in the active tree, so you would need a slight modification. Add a new case 6 in /includes/functions/extra_functions/categories_dressing_functions.php (function cat_active_level_manage($path) { ) like this:
    PHP Code:
          case 6://active only, without top (all tops when no cat selected)
            
    if($cPath_top != $path_top and $cPath_top != 0$skip_cat 1;
            if(
    $cPath_top == $path_top and $cat_depth == 0$skip_cat 1;
            break; 
    If you want to show all sub-subcats of the current top cat, you would need chcategories as well as a different custom case.

  10. #2030
    Join Date
    Oct 2011
    Posts
    68
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hi,

    Thanks for taking the time to reply.
    Im sorry if I wasnt very clear to what we need but we are after the sub-subcats as well.
    Below is the list of what we are trying to achieve.

    * Top Cats on main page only.
    * When a Top Cat is selected, all subcats and sub-subcats are shown but without the Top Cat.

    Best Regards

 

 

Similar Threads

  1. categories dressing
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Nov 2010, 09:29 PM
  2. Categories Dressing
    By wotnow in forum Addon Sideboxes
    Replies: 10
    Last Post: 7 Apr 2010, 03:06 AM
  3. Categories Dressing issue
    By Maynards in forum Addon Sideboxes
    Replies: 0
    Last Post: 13 Mar 2010, 10:51 PM
  4. Categories Dressing
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2010, 11:05 PM
  5. Categories Dressing
    By PGlad in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Aug 2007, 07:05 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR