EllisLab text mark
Advanced Search
     
Empty Categories in Category List
Posted: 24 August 2010 03:33 PM   [ Ignore ]
Joined: 2010-07-19
36 posts

This question may be related to a resolved thread.

I’m having the same problem. I realized I’m sharing the same category group with other channels that DO have posts. How do I get the list to show only categories for which the channel specified has entries and not all the other channels that share the same category group?

{exp:channel:categories channel="news" show_empty="no" category_group="5" }
    
<a href="{path='news-events/blog/cat/{category_url_title}'}">{category_name} ({exp:catcount cat_id="{category_id}" status="open"})</a>
{/exp:channel:categories} 

Thanks!

 
Posted: 25 August 2010 02:24 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2004-03-22
12298 posts

fouroakschurch,

Welcome to the forums smile

What version and build of EE are you using?

I can replicate this and its sounds buggy. I know it has come up a few times so let me clarify with the dev team for you.

 Signature 

John Henry’s Website | Follow me on Twitter

 
Posted: 28 August 2010 11:43 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Joined: 2010-07-19
36 posts

Thank you!

My info is below:

Version: 2.1.0
Build: 20100712

 
Posted: 30 August 2010 10:24 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2002-04-29
26055 posts

Thanks for the update,  fouroakschurch. Just to let you know, we haven’t heard back from the devs yet. Thanks in advance for your patience.

 
Posted: 21 September 2010 10:37 AM   [ Ignore ]   [ # 4 ]   [ Rating: 0 ]
Joined: 2010-07-19
36 posts

No problem. Any word?

 
Posted: 21 September 2010 08:29 PM   [ Ignore ]   [ # 5 ]   [ Rating: 0 ]
Avatar
Joined: 2009-09-24
5506 posts

Hi fouroakschurch,

Can you please update to the latest build and let us know if that helps?