Active
Project:
CCK Word Count
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2009 at 00:58 UTC
Updated:
22 Jun 2011 at 17:57 UTC
Please have a look at maxlength module http://drupal.org/project/maxlength
Could this be merged?
Comments
Comment #1
batje commentedYes it could. From a user perspective its quite similar.
But the code is very different, as maxlength is only targetting the Body field, and cck_wordcount only CCK fields. (and one counts characters, the other words, but that is minor)
For now, I would like to keep the modules separated (though I might steal/borrow/copy some tricks from maxlength), but will keep merging in the back of my mind.
Comment #2
rokrMaxlength also supports CCK fields.
So the difference is minor. Maybe one or two settings with a change of little javascript would do the trick. From a user point of view joining these projects is a must. :-)
Just my 2 cents, Ronald
Comment #3
batje commentedI think i agree. My drush had not updated to the new beta, so i missed the new functionality. Having done this module was a nice learning experience, going for the patch in maxlength will be too.
Comment #4
liliplanet commentedHave been looking for this a long time, thank you!
I was wondering, it it possible that it counts characters instead of words? Users will figure out to add all in one word ie this-is-a-word and trying to restrict the limit.
Maxlength has that capability, but not this beautiful javascript :)
Comment #5
rokrI just checked both modules. The frontend looks quite similar. Can you explain the difference? Is it something behind the scenes?
cheers, Ronald
Comment #6
batje commentedIt's behind the scenes. Actually, maxlength does this more advanced. They render the field + javascript + text server-side. This way, maxlength also works together with editablefields http://drupal.org/project/editablefields Which is what we are trying to achieve.
We need this in the coming weeks, so if you are a bit patient, we'll release updates either here or in maxlength.
Comment #7
a_c_m commentedPlease do it on max-length - there is a thread already about adding this feature (http://drupal.org/node/266759) which has patches in it waiting to be tested / improved.
a_c_m
Comment #8
doublejosh commentedOld post, but just for info: Maxlength now does CCK, etc.