Foros de discusión

Uppercase Tag entries! Why not

thumbnail
Apoena Oliveira Machado, modificado hace 13 años.

Uppercase Tag entries! Why not

Junior Member Mensajes: 53 Fecha de incorporación: 16/11/09 Mensajes recientes
Hello

Is there any way to save categories, tags, vocabularies, ... in the same format that we have entered them when creating them?

I mean, I create a new tag "My Tag", but it's saved as "my tag" and so, wherever I use it (i. e. as metadata in a journal article), I get the "my tag" value instead of the one I'd like: "My Tag"

Thanks
thumbnail
Simon Gołębiewski, modificado hace 13 años.

RE: Uppercase Tag entries! Why not

Regular Member Mensajes: 246 Fecha de incorporación: 8/06/09 Mensajes recientes
Question is why you want to do that?

From usability point of view you will encounter problems when user makes a mistake e.g. he writes He-man not he-man. In this case you will need to add additional code that will:
1. lowercase every character entered by user
2. lowercase every tag found in database and compare them with string entered by user
3. Show user not-lowercased tags that you will get from database
Michael Kutsam, modificado hace 12 años.

RE: Uppercase Tag entries! Why not

New Member Mensaje: 1 Fecha de incorporación: 22/07/11 Mensajes recientes
I don't see why lowercase is necessary. Why shouldn't it be case sensitive?
A tag is something I'd like to show at front end so it should be properly cased.

Tags are stored in the database in the table "ASSETTAG"
I was successfully able to directly rename Tags by editing the value in the "NAME" column.
Works for me - no unwanted side effects found so far.