Hi!
I've found nothing like that so here's what I'm searching for:
I desided to truncate the entries in the overview to 250 letters. It's just a design thing for better looking. And what I wanted is when I'm writing an entry there will be letter-counter while I'm typing. Is that possible?
Thanks, lordcoffee
Request: counter for letters in entry-backend
-
- Regular
- Posts: 308
- Joined: Tue Nov 29, 2005 10:22 pm
- Location: Munich - Germany
- Contact:
You'd need some kind of Javascript to count the letters. I suppose it could be added to a plugin, but then the display would be odd; you'd have to check the output and add the character counter after the textarea.
I'd recommend modifying the Javascript to add the input directly instead.
I'd recommend modifying the Javascript to add the input directly instead.
Hmmm... if you're willing to have the character count between the toolbar and the textarea, you could hook backend_entry_toolbar_body (for the serendipity[body] textarea) and backend_entry_toolbar_extended (for the serendipity[extended] textarea).
You could also edit the template's admin/entries.tpl to insert the count field.
This is starting to look more reasonable the more I look at it.
You could also edit the template's admin/entries.tpl to insert the count field.
This is starting to look more reasonable the more I look at it.
-
- Regular
- Posts: 308
- Joined: Tue Nov 29, 2005 10:22 pm
- Location: Munich - Germany
- Contact: