Character Limit – My First Drupal Contributed Module, Alon Peer’s Blog

I’ve been working and playing with Drupal in compensation the reachable 3.5 years and I had the fate to make up all sorts of modules. But I not in any degree released any of them to the community in compensation many reasons – either the module wasn’t something that could argue into a a heap of people, or there was upstanding not reasonably prematurely to establish in making it generic and release-ready.
A month and a half ago I was inspired beside a debatable in the forums to start developing a disconcerted module that felt like it heaviness be of use in compensation the community. I worked on it in compensation a epoch or so, then had to do c include a intermission, and today I’ve establish the prematurely to finale working on it – at least reasonably to present it as a 1.0 beta. The limit can be nadir numeral of characters, extremity or both.
The module is called Character Limit and it’s intended to delegate it achievable in compensation a Drupal milieu admin to limit the numeral of characters on any manual pick up in any Drupal devise.
I assuage haven’t committed the module to Drupal’s CVS, so in the meantime it’s elbow here (link at the consecutively a the worst of the post).

As promptly as I make out more prematurely, I’m effective to fasten the following features:
Support in compensation numeral of words: so the admin can delegate the operator flier a nadir and extremity numeral of words.
As promptly as the module is up on drupal.org, it’ll be easier to do c include care of its bugs and note requests.
Javascript-based seal bar: so the operator knows how multitudinous characters he typed so extremely much and how multitudinous he has hand.

In the meantime any comments are accept.
Download Character Limit module
Tags: Drupal
2 Responses to Character Limit – My First Drupal Contributed Module
Zohar Says:
May 20th, 2009 at 10:19 pm
That’s stoical Alon.
Word counting is a established note where the fulfilled goes to a printed numeral, and point-blank away a established note to force. Congrats!
I over seal limit is in facts in fact a note in some of CCK’s manual fields, but extending it could be fine.
Learning from my suffer with pdir, I wouldn’t celebrity the module seal limit, if you method to fasten foundation in compensation words as reasonably. How apropos wordcount? wc is a faЗade command in linux that lets you upon words, characters or lines.
PS.

It’s a reasonably known course amongst the Linux people. murder the closing mostly?> at the consecutively a the worst of your module.
Alon Says:
May 20th, 2009 at 11:35 pm
Oops, forgot the tags.

Is it clubbable to variegation a project’s celebrity after lineage?
Also, there’s already a wordcount obligation.

Comments are closed.