Hi,

I'm wondering if there is any module capable of control the capitalization of titles and taxonomy terms. To control users that insists in capitalize all the letters of titles and taxonomy terms. I would like to convert "FROM THIS", "oR tHIS", "To This", automatically. Any thoughts?

Thanks in advance!

Comments

bhosmer’s picture

You could do it at the theme level with .css

edalcin’s picture

Thanks bhosmer. But, I'm wondering if there is a module, whitouth "hacking" the .css

koneru.46@gmail.com’s picture

Just a single line will do the job in css.

text-transform:uppercase ;
or
text-transform:capitalize ;
ressa’s picture

Terms will still be presented to the user capitalized, or in whatever strange way they were input, when tagging a node, so this is not a solution.

selvakumar’s picture

You can change in template.php or page.tpl.

ressa’s picture

I am also looking for this, to make all letters in taxonomy terms small letters. Preferably before the free tagged term enters the database, since the term is displayed when tagging a node.

EDIT: Found this http://drupal.org/project/termcase which does just that:
1. No formatting
2. Ucfirst: convert the first character of the term to uppercase
3. Lowercase: convert all characters of the term to lowercase
4. Uppercase: convert all characters of the term to uppercase

Sourcery’s picture

Thank you for Termcase, that is probably the easiest and most flexible solution to this problem.