Close or Unpublish Category Instead of Delete them.
Posted: 25 November 2008 11:44 PM   [ Ignore ]  
Lab Assistant
RankRank
Total Posts:  226
Joined  11-27-2003

Is there any option to Close or Unpublish Category Instead of Delete them ?

I hardly delete any database I entered.

Profile
 
 
Posted: 26 November 2008 08:50 AM   [ Ignore ]   [ # 1 ]  
Sr. Research Associate
Avatar
RankRankRankRankRank
Total Posts:  2505
Joined  12-06-2002

No, there are no status options for categories like in weblog entries.

 Signature 

Sign up for Southern Fried ExpressionEngine - a 4-day EE class in San Antonio, TX starting on January 20th.

Profile
 
 
Posted: 26 November 2008 02:19 PM   [ Ignore ]   [ # 2 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  16153
Joined  05-15-2004

I am not sure what you are asking for. Categories just give structure to your data, deleting them doesn’t delete any data. If you want to keep them around, “empty” if you will, just don’t use them (any more).

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 26 November 2008 02:27 PM   [ Ignore ]   [ # 3 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7061
Joined  04-15-2006

Is this possibly because you don’t want someone placing any new entries / items into those categories but you still want to have whatever entries / items you have already assigned to those categories in place?

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 26 November 2008 03:09 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
RankRank
Total Posts:  226
Joined  11-27-2003

Yes Mark, that’s the answer.

And Ingmar, I can “empty” them but if I make query categories - the “empty” categories will still show. I know I can use categories= “not4”, something like this, but the situation become problematic if the category has parent - child categories relationship.

And Boyink, I thought so. So, I guess the only way to deal with that is to delete them, right?

Cheers Guys

Profile
 
 
Posted: 27 November 2008 06:30 PM   [ Ignore ]   [ # 5 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7061
Joined  04-15-2006
Beebs - 26 November 2008 03:09 PM

Yes Mark, that’s the answer.

Thought it might be somehow wink
Did I mention I can also read minds?

I don’t think there is any way to do this other than creating an extension but that would be quite a weird one to make I reckon.

Actually I haven’t tried this and not sure if it will work or not but perhaps you may be able to create a new category group and assign that to the weblog and un-assign the category group you originally had there. The existing entries in the weblog (if I am thinking this through correctly) would still (hopefully wink ) be assigned to the first category group and would still show up on the site wherever you use categories.

I could be wrong on this as it is past midnight here but just a thought process. Would be easy enough to test though.

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
Posted: 27 November 2008 06:44 PM   [ Ignore ]   [ # 6 ]  
Lab Assistant
RankRank
Total Posts:  226
Joined  11-27-2003

Mark, why would I never thought about that!!! Perhaps because this long hour lack of sleep. I think that’s a clever solution to create “Dump Category” to store any entry that is not needed anymore and those category will never be called in the template.

Profile
 
 
Posted: 28 November 2008 03:26 AM   [ Ignore ]   [ # 7 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7061
Joined  04-15-2006

Well if it works (which hopefully it does) then it is quite neat I agree!
Although I would wouldn’t I? wink

Let me know if it does work as I didn’t unfortunately get time to test this one out. Also if any of the moderators know of a reason why this shouldn’t be done then that would be great. I can’t see a reason why you couldn’t do this but I could be missing something important somewhere.

Best wishes,

Mark

 Signature 

Full List Of Plugins Here!! (16)
 
Retrieve Statuses
Maximum Posts Reached
Neat Link
Redirect
Fetch URI

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 66391 Total Logged-in Users: 40
Total Topics: 84715 Total Anonymous Users: 20
Total Replies: 454696 Total Guests: 201
Total Posts: 539411    
Members ( View Memberlist )