ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Hide empty categories used by multiple channels

October 04, 2010 4:33pm

Subscribe [4]
  • #1 / Oct 04, 2010 4:33pm

    field3

    17 posts

    Hello,
    For some reason show_empty=“no” is not working for me in the channel categories tag. I read that this is because the categories are being used by multiple channels. Any ideas on this or other ways to hide the empty categories? Can this be done with an if statement?
    Thanks,
    Robert

    EE v2.1.0

    Moved to CodeShare Corner by Moderator

  • #2 / Oct 05, 2010 2:44am

    John Henry Donovan

    12339 posts

    Robert,

    You would be correct in your assumption. Unfortunately I do not have an example query that you could use as a base. Do you wish me to move this to CodeShare Corner so other community members my help you with it?

  • #3 / Oct 05, 2010 6:27pm

    field3

    17 posts

    Sure that would be great. Thanks John

  • #4 / Oct 05, 2010 6:41pm

    Sue Crocker

    26054 posts

    Moving to CodeShare Corner per request.

  • #5 / Oct 13, 2010 4:27pm

    Addison

    59 posts

    Check out the first comment at the bottom of this page:

    http://expressionengine.com/legacy_docs/modules/weblog/categories.html

    For EE2, you’ll have to change the “weblogs” to “channels”, but it should work. I’ve used it once already and it’s a blessing!

    -Addison

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases