Results 1 to 10 of 2267

Threaded View

  1. #11
    Join Date
    Dec 2009
    Location
    Sarajevo
    Posts
    80
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Amazing Glenn you are real Zen Guru It exactly what my client had in mind and its working great.

    Also, as you mentioned in your post, it outputed numbers like 'first: 147_199' I notice that part of code and uncomment it, so code now looks like this:

    Code:
    case 7:// active subtree, active branches only, only 1st & 4th level - treat first subcat like top - customized 20100205 for madijelovi
            if($cPath_top != $path_top){//only 1 top cat's subs
              $skip_cat = 1;
              break;
            }
            if($cat_depth == 1){//show all first level  subs
    //echo '<br />first: '.$path;//debug
              break;
            }
            if($cat_depth == 4){//check 4th level for active parent
              $path_ids = explode('_',$path);
              $path_parent = $path_ids[count($path_ids)-2];
              if (in_array($path_parent,explode('_',$_GET['cPath']))) break;//show only subcats w parent in $cPath
            }
            $skip_cat = 1;//skip all others
            break;
    and now its not shows paths, is this OK?

    p.s. I just noticed that categories.php in right column is also showing when I am on 4th level subcategorie: when I am viewing Car Parts Types for example 'Brakes'; 'Engine Parts' 'Suspension' etc in main/center page, I am also seeing classic categories on right side (in right column) which is showing same list - Car Parts Types. I am not sure what part of code we should change so the categories on right side wouldnt be visible when users are viewing Car Parts Types..

    Thank you!
    Last edited by adi2009; 6 Feb 2010 at 08:56 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