Is it possible to get this to work for the privatemsg module as well? Maybe someone would be willing to write a patch?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | hook-form-fields.patch | 6.78 KB | nymo |
| #1 | privatemsg_maxlength.tar_.gz | 1.8 KB | nymo |
Is it possible to get this to work for the privatemsg module as well? Maybe someone would be willing to write a patch?
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | hook-form-fields.patch | 6.78 KB | nymo |
| #1 | privatemsg_maxlength.tar_.gz | 1.8 KB | nymo |
Comments
Comment #1
nymo commentedI needed to be able to limit the max number of characters allowed for privatemsg as well, so i patched the maxlength module to provide
hook_maxlength_form_fields.I then worked on the Privatemsg Maxlength Integration module to make use of that hook.
Comment #2
dawehnerIs this patch still needed with the api patch?
Comment #3
nymo commentedI've not used the API patch. I'll give it a go when i can and let you know.
Comment #4
cedeweyThe Drupal 6 version of Maxlength is no longer supported so I'm marking this Closed (works as designed).
I also encourage you, if you haven't already, to upgrade your site to Drupal 8/9. We are actively maintaining that version and you would enjoy all of the other features of the latest version of Drupal.