Taxonomy text fields

bobdalob - June 4, 2007 - 12:08
Project:Maxlength
Version:5.x-2.0-beta1
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Great module - like to see max length option for tags field I have.

#1

mariuss - June 9, 2007 - 18:45

What would you like to limit? The length of each individual tag or the number of tags?

To limit the number of tags there is another module that does the job quite nice:
http://drupal.org/project/taxonomy_limit

#2

bobdalob - June 9, 2007 - 20:09

Thanks for referring me to the taxonomy limit module however freetagging is not supported.

My request is really to set a practical limit for this field (words, characters - doesn't matter) in the same way as the maxlength modules does for body & title. Too many tags will spoil the layout. Installation of this module was primarily as a failsafe to limit the effects of potential spammers and spoilers.

#3

mariuss - June 9, 2007 - 20:32

From the module description: "It has been updated to allow freetagging categories as well."

So give it a try, it could do what you want.

#4

bobdalob - June 9, 2007 - 23:02

Excellent - you're spot on - I didn't notice it in the description - it [still] specifically says no freetagging support on the module config page. Also it didn't work until you check 'multiple terms allowed' in the freetagging category (normally assumed by drupal with freetagging categories).

Upon reflection I think I would still prefer a character limit option - purely because a term limit has too much scope - given that a term can be more than one word, 8 terms could be 32, 50 or 150 characters (or more!). For the time being however I guess it is okay.

#5

mariuss - June 9, 2007 - 23:13

Yes, the need to check 'multiple terms allowed' is a bit confusing, I run into the same problem:
http://drupal.org/node/130829

Maybe you want to follow up on that issue asking to be fixed.

#6

bobdalob - June 10, 2007 - 17:05

Done.

To go back to the other side of your original question..

Would it be practical for the maxlength module to analyse the length of each individual tag? I've put the same request to the developer of the taxonomy limit module. Where would it be better implemented?

Obviously feel free to close this topic if you've taken it as far as you'd like - I'm just voicing possibilities as it is already a very useful module.

#7

bobdalob - September 28, 2008 - 21:37
Title:Taxonomy freetagging text fields» Taxonomy text fields
Version:5.x-1.x-dev» 5.x-2.0-beta1

Amended request for v2

Broadened to say perhaps a maxlength for any chosen taxonomy field, whether multiple terms or not.

 
 

Drupal is a registered trademark of Dries Buytaert.