Is it possible to get this to work for the privatemsg module as well? Maybe someone would be willing to write a patch?

Comments

nymo’s picture

Version: 6.x-2.0-beta1 » 6.x-2.0-beta2
Status: Active » Needs review
Issue tags: +privatemsg maxlength integration
StatusFileSize
new1.8 KB
new6.78 KB

I 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.

dawehner’s picture

Status: Needs review » Postponed (maintainer needs more info)

Is this patch still needed with the api patch?

nymo’s picture

I've not used the API patch. I'll give it a go when i can and let you know.

cedewey’s picture

Category: Support request » Feature request
Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (works as designed)

The 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.