The green bubble (status is enabled) next to the category items in the category overview suggests that you can disabled/enable the category.

Is that possible? And if so, how?

  • What's your use case that you want that feature?
    – carlcs
    Nov 18 '14 at 23:31
  • I use a category list as a menu and need to remove some categories form the menu. I used a lightswitch field for it now and that works fine. I was just curious if there was a more elegant solution.
    – vinniecent
    Nov 20 '14 at 12:04
  • I think it's even cleaner to use a lightswitch "showInMenu". If you'd disable the category you wouldn't be able to use it at all, or you would get your categories with a (not sure if it exists for categories) property of status('live', 'disabled'), which I think is not elegant either.
    – carlcs
    Nov 20 '14 at 12:16
  • But I see that in your case it would be nice to have that status light to indicate something! It would be really nice if you were able to set it to show the status of a specific property. Not only the category status (enabled / disabled) but also any other value of one of this category's fields. Want to make this a feature request to P&T, Vincent?
    – carlcs
    Nov 20 '14 at 12:28

I don't think you can disable categories with the current version of Craft. But you're right, it currently looks like that categories are prepared to get disabled.


Categories now have their own edit pages in Craft 2.3, where you can set the status. And you can even set it on a batch from the category index page!

  • Nice feature! Exactly what I needed.
    – vinniecent
    Dec 16 '14 at 14:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.