Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 52
  1. #41
    Join Date
    Feb 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: always display subcategories in sidebox

    Hi there,

    Thanks for your response. get to know about the new features.

    But sorry to say "categories_dressing" not working according to my requirement.

    actually i don't want to permanent delete the subcategories at level 2 and up to from the sidebox.

    i need to show the master category and first level subcategory always.


    and by click on the sub category level 1 it should show me the list of sub categories at level 2 in the side box.

    Hope u understand my requirement and help me accordingly.

    Looking forward for positive response.
    Thanks.

  2. #42
    Join Date
    Feb 2010
    Posts
    4
    Plugin Contributions
    0

    Default Re: always display subcategories in sidebox

    Can someone please help on above issue to

    always show subactegory level 1 and by click on subactegory1 it shows me subcategories at level 2 in the sidebox.

    i m trying to find some solution. please help.

    i will be thankful to you.

    Thanks.

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

  4. #44
    Join Date
    Apr 2010
    Location
    Seattle, WA
    Posts
    45
    Plugin Contributions
    0

    Default Re: always display subcategories in sidebox

    The ch_category zip file is not downloadable anymore. Does anyone know where to get it? or can someone re-post it. (author please post in downloads area if possable) Thanks
    Zen Cart Help

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

    Default Re: always display subcategories in sidebox

    It is included as an option in Categories Dressing, and you can install just the ch_categories if you want to.

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

    Default Re: always display subcategories in sidebox

    The ch_categories download is still on the original site, now on the second page of items. (I didn't test it.)
    http://www.held-im-ruhestand.de/soft...art-categories

  7. #47
    Join Date
    Dec 2009
    Posts
    26
    Plugin Contributions
    0

    red flag Re: always display subcategories in sidebox

    Hi, below is my code for tpl_categories.php; I've got the 'show all subs' to work but I'm trying to make the main category not linked and bold (to act as a heading). Does anyone know how to do this?

    Code:
      $content_tm .= '<table cellpadding="0" cellspacing="0" border="0">';
    
      for ($i=0;$i<sizeof($box_categories_array);$i++) {
         if (zen_get_product_types_to_category($box_categories_array[$i]['path']) == 3 or ($box_categories_array[$i]['top'] != 'true' and SHOW_CATEGORIES_SUBCATEGORIES_ALWAYS != 1)) {
            // skip if this is for the document box (==3)
          } else {
          $content_tm .= '<tr>';
    
          if ($box_categories_array[$i]['current']) {
            if ($box_categories_array[$i]['has_sub_cat']) {
              $content_tm .= '<td class="catnavm">' . $box_categories_array[$i]['name'] . '</td>';
            } else {
              $content_tm .= '<td class="catnavselected"><a href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">' . $box_categories_array[$i]['name'] . '</a></td>';
            }
          } else {
              $content_tm .= '<td class="catnav"><a href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">' . $box_categories_array[$i]['name'] . '</a></td>';
          }
    	  
          if (SHOW_COUNTS == 'true') {
            if ((CATEGORIES_COUNT_ZERO == '1' and $box_categories_array[$i]['count'] == 0) or $box_categories_array[$i]['count'] >= 1) {
              $content_tm .= CATEGORIES_COUNT_PREFIX . $box_categories_array[$i]['count'] . CATEGORIES_COUNT_SUFFIX;
            }
          }
    
          $content_tm .= '</tr>';
    
        }
      }
    
          $content_tm .= '</table>';
    Thanks

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

    Default Re: always display subcategories in sidebox

    Sorry, I don't want to take the time to retrofit Template Monster's obsolete table layout for features that are built into Categories Dressing. If you want to use that mod, you can hide top categories and make headings to replace them; or you could tweak the code to unlink tops.

    The part of the code you show doesn't have a reliable method that could be used for determining top categories, and I don't know what the rest of their version of the file looks like.

  9. #49
    Join Date
    Dec 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: always display subcategories in sidebox

    Quote Originally Posted by gjh42 View Post
    Sorry, I don't want to take the time to retrofit Template Monster's obsolete table layout for features that are built into Categories Dressing. If you want to use that mod, you can hide top categories and make headings to replace them; or you could tweak the code to unlink tops.

    The part of the code you show doesn't have a reliable method that could be used for determining top categories, and I don't know what the rest of their version of the file looks like.
    What if I was to revert back to the original zencart default template file. What would I need to change from there.

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

    Default Re: always display subcategories in sidebox

    The Categories Dressing mod has the code needed to do this already. You would probably want to install its ch_categories option, and set the active/level control to hide top cats, then make a non-linked heading for the first subcategory of each top cat, with an image or text of the top cat name.

 

 
Page 5 of 6 FirstFirst ... 3456 LastLast

Similar Threads

  1. v150 How to always display subcategories on the main page.
    By TSN99 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Oct 2015, 01:52 AM
  2. Categories Sidebox: How to always include subcategories?
    By lat9 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Mar 2010, 02:18 PM
  3. Always display subcategories - AGAIN
    By twiddletails in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 30 Sep 2008, 05:00 AM
  4. How to: ALWAYS DISPLAY SubCATEGORIES ???
    By ahakobyan in forum Basic Configuration
    Replies: 5
    Last Post: 1 Apr 2008, 08:05 AM
  5. Subcategories always showing in sidebox
    By quantum in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 22 Sep 2006, 12:04 AM

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