Page 1 of 1

removing 'no category' option

Posted: Tue Jul 11, 2006 11:18 pm
by fcherub
Hi, I'm a newbie, just installed a couple of days ago :D
I have a question regarding categories.
Here's how I would like to use the blog: each user is single member of a group, and each group can only post to one category, this basically means each user has his/her own blog.
The problem I encounter, and I've not been able to find the solution yet by searching the forum (perhaps I missed it) is that users can still post to "no category" and I have a feeling many of my users would do this.
Ideally it would be cool if there was a setting that would force a group to choose a category. If this is not possible, could anyone help me find where I could remove the "no category" option ?

many thanks,
Federico

Re: removing 'no category' option

Posted: Wed Jul 12, 2006 9:34 am
by garvinhicking
Hi!

You basically have two options:

1. Edit your include/functions_entries_admin.inc.php file, search for the dropdown that emits "NO_CATEGORY" and remove that option. This is sort of hackish, though.

2. Use the plugin "serendipity_event_entrycheck" ("Rules for publishing"). This plugin allows you to set a rule that an entry may not be puslished without a category assignment.

HTH,
Garvin

Thanks

Posted: Wed Jul 12, 2006 7:23 pm
by fcherub
Thanks a million, the plugin's just perfect!