Hi everyone!
Is it at all possible to add a character limit onto a content block? I have a client asking about it and I've searched but not found any answers to this as yet.
Thanks in advance.
Can Content Blocks have a Character Limit? [solved]
Can Content Blocks have a Character Limit? [solved]
Last edited by JM6891 on Thu May 12, 2011 8:23 am, edited 1 time in total.
- micahgodbolt
- Forum Members
- Posts: 149
- Joined: Thu Jul 29, 2010 11:09 pm
Re: Can Content Blocks have a Character Limit?
You could truncate the output. Will that work? You can use |summarize
Re: Can Content Blocks have a Character Limit?
Hmmmm.... didn't think of that. I will give that a go and let you know if it works.
Thanks for your help!
Thanks for your help!
Re: Can Content Blocks have a Character Limit?
Hi there
This worked! I just did:
{content|truncate:30} and it limits the characters to 30!
Thanks so much once again!
This worked! I just did:
{content|truncate:30} and it limits the characters to 30!
Thanks so much once again!
Re: Can Content Blocks have a Character Limit? [solved]
This is great.
Is there a way that someone adding content can be told when they've reached the content limit? I've experimented with this and it seems like I can add as much content as I like, but only the number of characters specified will be displayed. And it makes the background disappear on my content box.
I need a way to warn people adding content that they've written too much.
Can you help?
Jude x
Is there a way that someone adding content can be told when they've reached the content limit? I've experimented with this and it seems like I can add as much content as I like, but only the number of characters specified will be displayed. And it makes the background disappear on my content box.
I need a way to warn people adding content that they've written too much.
Can you help?
Jude x