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.

Categories Status

August 27, 2007 11:57pm

Subscribe [1]
  • #1 / Aug 27, 2007 11:57pm

    dyode

    17 posts

    The weblog categories tag has the “show_empty” parameter which if set to “no” only displays categories which has posts associated with them and in any status other than “closed”.

    How would you only show categories with associated posts and only in “open”? For instance if a category only had one posts associated with it but in a custom status such as “pending” the category would not be displayed.

    Thanks!

  • #2 / Aug 28, 2007 12:51pm

    Robin Sowell

    13255 posts

    There isn’t a default way to do it- though it would make a good feature request.  (I think it may have been requested before.)  At the moment, that leaves you with hacking or writing your own version as a plugin.

  • #3 / Aug 28, 2007 3:50pm

    dyode

    17 posts

    Ok, i’m going to add this as a feature request. If anyone has written a plugin or has done this before let me know. Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases