Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,942
    Plugin Contributions
    96

    Default Re: Sub-Category Counts

    Quote Originally Posted by lat9 View Post
    As a distinction, what @idtags is seeing is the result of the mobile/tablet jQuery mmenu (mobile-menu) processing.

    Those numbers aren't category counts per se, they're sub-link counts (e.g. the number at the end of the Categories link identifies the number of sub-links, ditto with the compressed "Information" sidebox which shows the number of links available).
    You can hide those numbers' display via an update to your template's version of /css/jquery.mmenu.all.css, adding the following rule at the very bottom of the file:
    Code:
    .mm-menu em.mm-counter { display: none; }

  2. #12
    Join Date
    Aug 2005
    Posts
    334
    Plugin Contributions
    0

    Default Re: Sub-Category Counts

    I found answer for my question here.

    I was not sure how to make precision link to particular posting, so I pasted it below as is:

    "Quote Originally Posted by DrByte View Post

    I realize you asked specifically about the Mobile Menu, so I will assume that you've already turned off Category Counts here: https://www.zen-cart.com/content.php?198

    And, doing that DOES turn off the Category Counts, even in the mobile menu.
    But you're probably referring to the "sub-menu counter" that gives an indicator about how many sub-links are available in each sub-level in the mobile-specific menu.

    So, to turn off the counts of how many sub-levels are available in the whole mobile-menu, edit /includes/templates/YOUR_RESPONSIVE_TEMPLATE/templates/tpl_modules_mobile_menu.php:
    Line 159:

    Code:
    counters: true


    ... change that to false, and ALL sub-level indicators will no longer have ANY counters. Be sure you assess whether you really want that turned off"


    I tested it, it works as described. It fixed the same issue in Tablet mode as well.

    Thank you everybody for the effort to help.

  3. #13
    Join Date
    Jul 2012
    Posts
    16,817
    Plugin Contributions
    17

    Default Re: Sub-Category Counts

    Quote Originally Posted by idtags View Post
    I found answer for my question here.

    I was not sure how to make precision link to particular posting, so I pasted it below as is:

    "Quote Originally Posted by DrByte View Post

    I realize you asked specifically about the Mobile Menu, so I will assume that you've already turned off Category Counts here: https://www.zen-cart.com/content.php?198

    And, doing that DOES turn off the Category Counts, even in the mobile menu.
    But you're probably referring to the "sub-menu counter" that gives an indicator about how many sub-links are available in each sub-level in the mobile-specific menu.

    So, to turn off the counts of how many sub-levels are available in the whole mobile-menu, edit /includes/templates/YOUR_RESPONSIVE_TEMPLATE/templates/tpl_modules_mobile_menu.php:
    Line 159:

    Code:
    counters: true


    ... change that to false, and ALL sub-level indicators will no longer have ANY counters. Be sure you assess whether you really want that turned off"


    I tested it, it works as described. It fixed the same issue in Tablet mode as well.

    Thank you everybody for the effort to help.
    Couple of things: precision link is available "typically" by copying the link from the post number at the right top corner of the specific post (for example the above post is post #12: https://www.zen-cart.com/showthread....55#post1338655).

    For future testing on your own (obviously the forum is available to support/provide additional information), you could put your "desktop" into a mode such as for mobile or tablet by adding the layoutType parameter to your uri such as &layoutType=mobile or &layoutType=tablet. Tablet can do the same for mobile, but mobile is "stuck" as mobile. To "reset" you can include the parameter but with no right side value. What that does (like what I did a few minutes ago, absent of seeing any other's posts) was to navigate to the page, set the browser to act like one of the "smaller" devices, inspected the mobile menu, found that there was javascript associated and then was able to find the specific switch that was described above. Now back to updating a website.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Category->Sub-Category Counts
    By jfreeman in forum Templates, Stylesheets, Page Layout
    Replies: 41
    Last Post: 31 Oct 2010, 10:27 PM
  2. category counts
    By GRRB in forum General Questions
    Replies: 1
    Last Post: 22 Apr 2010, 12:11 AM
  3. Adding Category Counts to Category Images (Rows)
    By .Dave. in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 2 Oct 2009, 05:31 AM
  4. Category counts in sidebox
    By darkswan in forum Basic Configuration
    Replies: 2
    Last Post: 2 Jun 2006, 06:29 AM

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