Ticket #9 (enhancement)

Opened 2 years ago

Last modified 2 years ago

Allow configurable tag separator

Status: new

Reported by: aezell Assigned to: somebody
Priority: minor Milestone: 1.0
Component: component1 Version: 1.0
Keywords: Cc:

It might be nice to be able to set in the config the delimiter that tells the system how tags should be separated. It is done with a space now, but my users want to enter tags with spaces in them and this is not possible. Being able to set a comma as the delimiter would be excellent.

I can make this change myself, I think, but it would need to be vetted by someone.

Attachments

aezell.05092007.diff (91.0 kB) - added by aezell on 03/10/07 03:12:33.
adds code to allow configurable tag delimiter

Change History

03/08/07 23:53:12: Modified by aezell

It seems that within the class and the js file, we can just replace (carefully!) most instances of ' ' (including the two single-quotes) with ',' or a variable which contains the desired delimiter.

03/09/07 00:03:48: Modified by aezell

Changing to a comma works with the above method. The only issue is trimming the final comma when display the new tags after saving. Probably just a matter of adding a line to do so to the javascript.

Now, just need to do it with a variable set in the config. This could be more problematic since it will be needed in the javascript and the PHP.

03/09/07 00:31:24: Modified by aezell

I have the code modifications using a variable in the config file. I'd be glad to share them however it makes sense for you.

03/10/07 03:12:33: Modified by aezell

  • attachment aezell.05092007.diff added.

adds code to allow configurable tag delimiter