Page 153 of 227 FirstFirst ... 53103143151152153154155163203 ... LastLast
Results 1,521 to 1,530 of 2267
  1. #1521
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Categories Dressing

    autoace - I have been looking at the cat_active_level_manage() function, and the feature you want is built into version 2.8 (not yet released - it has one IE bug I haven't been able to correct yet).

    Add a new case to the switch in the function:
    PHP Code:
          case 6://like 2, active branches only
            
    if($cPath_top == 0){//test
              
    $test_level 1;
            } elseif (
    $cPath_top == $path_top){
              if (
    $cat_depth >= 2){//only test sub-subcats+
                
    if (!in_array(cat_path_parent($path),explode('_',$_GET['cPath']))) $skip_cat 1;//show only subcats w parent in $cPath
              
    }
            } else {
    //if not active test for level
              
    $test_level 1;
            }
            break; 
    You can use this to set the highest and deepest levels for any page where there is no category selected, including the home page.


    Mmm... this function now depends on one or two functions/variables that are not in the current v2.7.3. If you would like to try v2.8, let me know and I'll post a zip for you. It does have an issue with replaced category images shifting to the right in IE7, but otherwise works fine as far as I can tell.
    Last edited by gjh42; 20 Oct 2010 at 03:55 AM.

  2. #1522
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: Categories Dressing

    gjh42 - Yeah, I'll try the new version! I have a test site that I can install it on and test out.

    Let me know when that zip will be available, thanks.
    Thank you,
    autoace

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

    Default Re: Categories Dressing

    I've been away - will post the zip later today after I get some sleep:)

  4. #1524
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: Categories Dressing

    k, sounds good, sleep well :)
    Thank you,
    autoace

  5. #1525
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hello, I have a question about your mod...

    I would like to HIDE the TOP category, SHOW the 1st subcategories (always) and SHOW the additional subcategories ONLY when the 1st subcategories are selected...

    Is this possible? Am I being clear with my request?

    Thank you!!

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

    Default Re: Categories Dressing

    Yes, you would uncomment and set this in categories_dressing_defines.php:

    define('CAT_BOX_ACTIVE_LEVEL', '4|1|1');
    Last edited by gjh42; 3 Nov 2010 at 07:38 PM.

  7. #1527
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Categories Dressing

    COOL!!

    Which one do I use? You've suggested two? Should I just try them both out? Thank you for the prompt response!

  8. #1528
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hello, it's me again.

    So this adjustment made my 2nd, etc. subcategories visible when the first categories are selected...

    However, for the TOP categories, instead of being hidden, it's popping up with a total: example: Gift Certificates (5) now.

    I want the TOP category to stay hidden. Always.

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

    Default Re: Categories Dressing

    Try option 5 instead of 4 - I think that will get what you want here.

    '5|1|1'

  10. #1530
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Uh oh...with that option my entire sidebox goes blank...any other ideas?

 

 

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