Any ideas to allow the admin to restrict how many taxonomy terms a user can choose when creating a new node (e.g. a max of 3 taxonomy terms can be chosen)? It could be for theming purposes or you want to charge users for the extra number of taxonomy terms they choose.

Comments

rconstantine’s picture

That doesn't sound too much like a generally useful feature and one I'm not likely to code myself. If you'd like to roll a patch, I'm open to that. Otherwise, what some developers do is write their own 'tweak' module where they include all kinds of tweaks to various modules they have installed. This way, they can update the modules without losing the changes they've made to their behavior. Does that make sense?

I do this myself, primarily where I add a hook_form_alter or hook_nodeapi to change something I don't like. Occasionally, I add submit handlers or something more exotic as well.

So I'll keep this post open for a few days to see if you roll a patch, other wise I'll mark this as 'won't fix'. Sorry.

storbaek’s picture

Hi Ryan

It makes sense what you mention regarding a seperate module. I do however, not possess the skills to program, but get by with drupal by using snippets and great modules like yours. I hope it will come one day though.

rconstantine’s picture

Status: Active » Closed (works as designed)

All it takes to program is a desire and a couple of good books. One is totally online: http://hudzilla.org/phpwiki/index.php?title=Main_Page and the other is Pro Drupal Development which can be had from Amazon.com. If you can muster that desire, it will open a new world up to you. And learning one programming language gives you the tools to fairly easily jump to others.