Display of names in title case

Display of names in title case

Charlie Owen發表於
Number of replies: 2
Hey all,

I put together a tiny hack over the weekend that allows an admin to set all first and last names to display in title case. This is really useful if you have (like us) an LDAP source that outputs all names in lowercase.

You can find the details in the tracker: MDL-11088
評比平均分數: -
In reply to Charlie Owen

Re: Display of names in title case

Just H發表於
Hi Charlie

Thanks for that 微笑

Also worth looking at this thread. Haven't tried it yet but it's on my "to-do-list".

Have added a reference to it in your tracker entry, along for a "feature request" would be great if you or one of the developers could implement it, sadly above my abilities I'm afraid.

H
In reply to Just H

Re: Display of names in title case

Charlie Owen發表於
Hey,

Thanks Harry. I like the look of applyFilter - could be very useful!

I will certainly explore this further - I'm not a developer but I am a quick learner when I have the interest. big grin For now my original code is doing the needed job on our Moodle, but it would be good to have the option to force a case on any field in future Moodle versions.