Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2008
    Posts
    2
    Plugin Contributions
    0

    Default Show Category Counts

    I had to edit the file "tpl_modules_categories_tabs.php" by copying it to my template folder.

    Here's what is looks like:

    PHP Code:
    <?php
    include(DIR_WS_MODULES zen_get_module_directory(FILENAME_CATEGORIES_TABS));

    #DISPLAY CATEGORIES
    if(CATEGORIES_TABS_STATUS == '1' && sizeof($links_list) >= 1)
    {
    ?>
    <ul>
        <?php
        
    #DISPLAY EVERY CATEGORY
        
    for($counter 0$links_list_size sizeof($links_list); $counter $links_list_size$counter ++)
        { 
    ?>
            <li><?php echo $links_list[$counter];?></li>
        <?php
        
    }
        
    ?>
    </ul>
    <?php
    }
    ?>
    Now I don't see the category counts even though the show category count thing has been enabled. How do I fix this?

  2. #2
    Join Date
    Sep 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Show Category Counts

    Am I using the right module?

    PHP Code:
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>

  3. #3
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Show Category Counts

    I beleive the category count only displays in the categories sidebox.. the category tabs are the horizontal list of links and these do not include the count...
    ~Steve~

 

 

Similar Threads

  1. CSS Flyout Category Menu Show Counts
    By lloyd_borrett in forum Addon Sideboxes
    Replies: 1
    Last Post: 2 Feb 2008, 05:12 PM
  2. Replies: 1
    Last Post: 3 Jul 2007, 04:59 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
  •