Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Hide empty categories option

Hide empty categories option 6 Jahre 4 Monate her #3365

  • Damian
  • Damians Avatar
I need to hide categories that have no articles published in them. Is this something you can do.

Hide empty categories option 6 Jahre 4 Monate her #3366

  • Jonny132
  • Jonny132s Avatar
  • OFFLINE
  • Administrator
  • Beiträge: 151
  • Dank erhalten: 3
  • Karma: 4
Hello Damian,

if the structure of your Homepage is simple --> yes, it would be possible.

But imagine a maincategory with no articles, but with a subcategory which has articles.
In this case, will the maincategory with the subcategory be shown?
Or just the subcategory? Or none?

The simpliest way would be if you just check uncheck the category with no articles in the options.
That way you can have the behavior you want.

Thanks!
Letzte Änderung: 6 Jahre 4 Monate her von Jonny132.

Hide empty categories option 6 Jahre 4 Monate her #3367

  • Damian
  • Damians Avatar
I would set it to only work on the child category.

Hide empty categories option 6 Jahre 4 Monate her #3368

  • Jonny132
  • Jonny132s Avatar
  • OFFLINE
  • Administrator
  • Beiträge: 151
  • Dank erhalten: 3
  • Karma: 4
Hello again,

remember that joomla allows complex categorystructures.

So what if the childcategory has (child)childcategories which have partly even more (childchild)childcategories?
And each of the ((child)child)childcategory has articles or not, wheter the ((child)child)childcategory has another subcategory?

You see i can make a solution which works for YOU but not the whole community. Unfortunataly...
Ladezeit der Seite: 0.095 Sekunden