1 (edited by progent 2010-10-17 18:40)

Topic: Capitalize first letter in topic subject

Hello!

Is there a way to capitalize automatically the first letter typed in the topic subject input (not with css)?

Thank you!

2

Re: Capitalize first letter in topic subject

Well, if you don't want CSS you can modify the PHP script for creating topics (it should be in ./include/functions.php), but I guess there isn't anyone who will do an extension for this  big_smile

Eraversum - scifi browser-based online webgame

3

Re: Capitalize first letter in topic subject

Wouldnt be hard to make an extension to do that.
Just use the hook 'po_pre_add_post' and have it say $post_info['subject'] = ucfirst($cur_posting['subject']);

Re: Capitalize first letter in topic subject

Thank you very much!

5

Re: Capitalize first letter in topic subject

If you wait 15 mins, i'll throw it together for you. Just installing 1.3 wink

6

Re: Capitalize first letter in topic subject

I have put it Here for you.

Re: Capitalize first letter in topic subject

Thank you, it works perfectly!  smile