Results 1 to 10 of 2267

Threaded View

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

    Default Re: Categories Dressing

    Try this:
    PHP Code:
          case 7://full active tree, others per level; always cat 23, cat 150 active subs
            
    if( $path_top == '150'){
              if (
    $cat_depth >= 2){//only test sub-subcats+
                
    $path_ids explode('_',$path);
                
    $path_parent $path_ids[count($path_ids)-2];
                if (!
    in_array($path_parent,explode('_',$_GET['cPath']))) $skip_cat 1;//show only subcats w parent in $cPath
              
    }
            } elseif (
    $cPath_top == $path_top or $path_top == '84') {//full tree
            
    }
            } else {
    //if not active test for level
              
    $test_level 1;
            }
            break; 
    This might want alteration to
    if ($cat_depth >= 2)
    Last edited by gjh42; 25 Nov 2012 at 03:52 PM.

 

 

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