Closed (fixed)
Project:
MaxLength
Version:
7.x-2.x-dev
Component:
Miscellaneous
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2010 at 22:15 UTC
Updated:
5 Oct 2011 at 18:01 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tsvenson commentedWould also like to see a Drupal 7 version of this module.
A feature that would be nice to have in it would be to make it possible to set separate values for the summary and normal field for the combo field introduced in D7.
Comment #2
yugongtian commented+
Comment #3
jbucks commentedI'd also love to see a Drupal 7 version...
Comment #4
geek-merlin:-))
Comment #5
extrarumeno commentedSubscribe
Comment #6
Anonymous (not verified) commentedsub
Comment #7
noam.hrz commentedI started working on upgrading
Comment #8
geek-merlincool!
Comment #9
schnitzel commentedcool!
what do you think when it will be finished? Because we need it for a customer in about 2 weeks, so if you want, we could help porting it.
Comment #10
anthonyR commentedsubscribe
Comment #11
schnitzel commentedWe needed the module for our customer and so we did it.
Patch with D7 Port is attached.
We added also a check for the Title Module (http://drupal.org/project/title), which allows to convert the Title into a field (which you wan't for field based translation). Because of this, the settings for the title limit in the content type edit form don't work anymore (you can change the settings directly in the title field).
There are some comments and also function names which still contain CCK in it, but it still works all.
Would be cool if you can test :)
Most work done by Marian Ostaci. I added the check for the Title Module and reviewed the code.
Comment #12
Tony Finlay commentedSchnitzel, I've tried applying your patch (using netbeans) on the module but it's telling me that it's only partially applied, Drupal still recognises the module as 6.x-2.0-beta2.Any tips on how to get this sucker working?Cheers to both the original coder and yourself for the work on this module.Scratch that, I just changed the .info file in the module to look like below to get it working.
The only issue now is where do I set the char limit? There seems to be no options anywhere
Cheers again guys
Comment #13
dilari commentedI've tried applying the patch but it fails.
Now this could very well be due to the fact that I don't know how to do it.
I've tried
which gives me
Would this be the right way to do it?
Would it be possible to simply post the patched maxlength.inc ?
Comment #14
schnitzel commentedOk maybe it is easier to give you the full module, check the attachement
@dirtyharry
actually you should be able to select it inside of the field settings, like here:
/admin/structure/types/manage/page/fields/body
(this is the edit page of the body field of contenttype page)
cheers
Comment #15
Tony Finlay commented@Schnitzel
Thanks for that, I checked that location already but there were no options available for maxlength, I'm guessing there was an issue with the module patch. I've now tried that full module attachment and thus far it is working like a charm.
Thanks to everyone for their work, it's very appreciated.
Comment #16
dilari commentedthanks will check it out.
Comment #17
dilari commentedWorks great! thanks
Comment #18
dawehner@schnitzel
Do you want to maintain this module?
In general i don't have time to try out the port, so it would be cool if you could do something.
Comment #19
k4v commentedI committed Schnitzel's patch. Works for me =). Thanks!
Comment #20
k4v commentedfixed
Comment #21
Tor Arne Thune commentedAny chance of getting a 7.x non-dev release? :)
Comment #22
schnitzel commentedYes!
We at @AmazeeLabs are really busy, but using the maxlength in some Customer Projects. We will review the testing and make some small changes, and then I guess we can go to beta :)
Comment #23
Tor Arne Thune commentedThe Drupal 7 port is great, but I can't seem to get the JavaScript countdown working for the core field comment_body. I have tried to tick the box for JavaScript using the UI, and programmatically in an installation profile (emulating what the module does):
The box for JS stays unticked after I update the comment_body field settings (through the normal UI way, and programmatically in the installation profile), no matter if I tick it and save the settings.
Comment #24
Tor Arne Thune commentedBy the way, the character form validation for comment_body works great, just as input (510 characters).
Comment #25
BenK commentedKeeping track of this
Comment #27
Jance commentedI'm also experiencing the issue brought up in post #23.
Seems the choice of "Enable remaining characters countdown for this field" refuses to stay check, anyone have any ideas what's happening here?
Comment #28
dawehnerIn general please create new issues for bugs.
Comment #29
bruno33 commentedWill be fantastic to have such a module for D7 ;)
Comment #30
schnitzel commentedActually there is a D7 Version already, but it needs some testing before we can put it to stable.
It is the 7.x-3.x-dev which is a port from maxlength_js with an upgrade path from 7.x-2.x to 7.x-3.x