Commas not accepted in freetag mode

ck9 - June 22, 2009 - 19:58
Project:Content Taxonomy
Version:6.x-1.0-rc1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Tried to add a University department in a freetag autoadd field -- "School of Arts, Languages, and Literature" -- and it wouldn't accept it. Turns out that commas have some special meaning in these fields. I would really, really appreciate if someone could tell me how to disable this 'feature' with a quick patch. Thanks

#1

mh86 - August 19, 2009 - 09:51
Status:active» fixed

Multiple terms in the autocomplete are separated with commas. If you have a comma within one term name, you have to put quotes around the term name. I tested it with "School of Arts, Languages, and Literature" and it does work for me.

#2

ck9 - August 20, 2009 - 15:17
Category:bug report» feature request
Status:fixed» active

Ok thanks, that's one way around it. I'm actually allowing the end users to type in the term (and have it created if it doesn't exist) so asking them to add the quotes is possible, but not really ideal.

I'll turn this into a feature request: allow the website admin to choose how commas are processed (e.g. include a checkbox in the module settings - option 1 (default): terms are separated by commas, option 2: commas are part of the term name).

#3

mh86 - September 4, 2009 - 12:54

maybe the active tags (http://drupal.org/project/active_tags) integration might help you
it extends the autocomplete so that no commas are necessary

#4

ck9 - September 8, 2009 - 23:18

Thanks for the suggestion. I checked out the module and it seemed like a good solution; however, after testing, it also considers comma as a term separator.

 
 

Drupal is a registered trademark of Dries Buytaert.