4

My question is simple and straightforward. Maybe I am making a mistake but it seems that all the text in a global field is always capital. I want to have 'Eng" in a global plain text field but it outputs "ENG"

1 Answer 1

5

If you have a global set named globalSet, and a plain text field in that set named textField, and the value you enter is Eng, then {{globalSet.textField}} will output Eng

Things that could be going wrong:

  • caps-lock: Did you enter ENG in the field in the first place?
  • |upper: {{globalSet.textField|upper}} will output ENG
  • CSS: text-transform: uppercase;
  • jQuery: $("*").text($("*").text().toUpperCase()); (or other jQuery)
  • all caps font
  • translations: {{globalSet.textField|t}} and a translation file with "Eng" => "ENG"

[edited to fold in suggestions from the coments - Marion]

8
  • 3
    Another thing that could be going wrong, CSS. ;) Double check for text-transform: uppercase. Commented Jul 3, 2014 at 6:51
  • Yeah, and also double check for jQuery $("*").text($("*").text().toUpperCase());
    – carlcs
    Commented Jul 3, 2014 at 7:00
  • One more: you could be using an "All caps font"?!
    – carlcs
    Commented Jul 3, 2014 at 7:13
  • 2
    Go into your global and copy it to the clipboard, then open up Microsoft word and paste it in the contents of your global field into a new document. Highlight the text you want to be lowercase and select the 'Aa' button and select "Capitalize each word". The text is now changed into the format your template requires. Place this text back into your global and click save. I have taken the time to ensure my instructions are clear by taking a screenshot of the Microsoft Word menu item: glui.me/?i=gsxz5xohmgyq8av/2014-07-03_at_3.15_pm.png Please let me know if you need further assistance Commented Jul 3, 2014 at 7:17
  • 1
    @ChristianSeelbach i'm working on a more detailed answer and hope to release a beta in a few weeks. Commented Jul 3, 2014 at 7:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.