Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-12-14 11:18:34
- Bongo-man
- Member
- Registered: 2009-03-18
- Posts: 243
Is there a way to limit article lenght to 140 letters?
Is there a way to limit article lenght to 140 letters?
…I would like to create a Twitter-like interface for a tiny blog.
I’m also interested in a procedure to filter messages on the basis of keywords and language to let user freely post messages without needing to control them.
Last edited by Bongo-man (2010-12-14 11:20:53)
Offline
#2 2010-12-15 00:56:32
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,315
Re: Is there a way to limit article lenght to 140 letters?
Bongo-man wrote:
Is there a way to limit article lenght to 140 letters?
Not while editing, at least none I know of. But you can limit the length of the text you display with rvm_substr.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#3 2010-12-15 02:43:33
- Bongo-man
- Member
- Registered: 2009-03-18
- Posts: 243
Re: Is there a way to limit article lenght to 140 letters?
I thank you. I will try to apply it to realize what I need.
Offline
Re: Is there a way to limit article lenght to 140 letters?
For limiting the character input:
Perhaps you can use javascript?
Google Search for JQuery limit TextArea
Example JQuery Plugin: Text Limiter and Counter
You need to inject the js into the admin side – on the Write tab (unless you are thinking a front-end form like mem_simple_form”.
So it probably would be easiest to create an admin plugin?
Last edited by maverick (2010-12-15 03:18:36)
Offline