PDA

View Full Version : Disable parent categories in submit drop down list?


jay275
04-23-2006, 01:20 AM
One of my big frustrations (I'm sure everyone else too) is users submitting to parent categories instead of the proper subcategory. I have been trying to figure out a way to disable the parent categories from the drop down list on the submit.tpl page but have not had any luck. I have messed around with submit.php too and only caused problems. Does anyone have a way to disable parent categories in the drop down list so users can only select subcategories?

Many thanks!

anon
04-23-2006, 03:42 AM
Sounds like something that would need to be modified in the functions.php file.

Or actually added, since the same function is used in the admin control panel to render the list.

If you are versed enough in php, have a go at creating your own function to serve this purpose.

Rob

jay275
04-23-2006, 07:34 PM
I was afraid of that. I'm not that great at functions, but I'll keep playing around and post if I have any luck. I'm going to re-post this in the mod request forum to see if someone can do this better than me:)