Hello,
I’ve got some really old category names in the "existing category" dropdown. I’d like to clear/erase this menu. Does anyone know how I can do this?
Thanks!
Jess
-
MODX Staff
- 12,272 Posts
I think you actually have to do that in the DB itself. Not 100% certain though.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Hmm, that’s what I thought too.
I think the DB is your only choice here. They’re in the modx_categories table (assuming that modx is your table prefix). Each category is a separate record and you can just drop the ones you don’t want. Make very sure, though, that nothing is assigned to those categories before you drop them.
You might put the ability to delete categories in as a feature request vie the "BUGS & REQUESTS" link at the upper right of this page.
That capability is there in MODx Revolution (still in alpha as I write this) and would be a good addition to 0.9.6.
On combined view click delete and the resource goes to uncategorized
This works in my modx version - see footer.
Quote from: mrhaw at Dec 21, 2008, 03:02 AM
On combined view click the delete link next to the category and the items beneath it become uncategorized.
This works in my modx version - see footer. 
Absolutely correct. I never noticed that.
You learn something new here every day.