I wanted to add maxlength to a taxonomy term description, but that doesn't work. I think it would be nice to have this functionality.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Arrow’s picture

I second this.

zhuber’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
4.95 KB

I've patched this module to include an admin settings form, which allows you to select 'Limit taxonomy term descriptions'. It also allows you to set defaults, which we can use for other field defaults later on.

If this patch is committed, please attribute correctly. (http://www.bywombats.com/blog/09-06-2011/giving-credit-where-credit-due)
Here is my author info, for git attribution:
--author="zhuber <zhuber@1437276.no-reply.drupal.org>"

impol’s picture

function _maxlength_add_maxlength_attributes missed :(

santiwww’s picture

Status: Needs review » Needs work

Changed status to needs work until someone fix this patch

santiwww’s picture

Version: 7.x-3.0-beta1 » 7.x-3.x-dev
Status: Needs work » Needs review
FileSize
5.21 KB

I've created a new patch to add fields in taxonomy vocabulary form to configure maxlength for taxonomy terms. It works with both the name and description of term.

santiwww’s picture

I found an error in patch #5, in case you want to deactivate maxlength for a previously activated vocabulary, it doesn't reset variables so it remains activated, attached modified patch.

cedewey’s picture

Status: Needs review » Closed (won't fix)

We are putting a feature freeze on the Drupal 7 version of the module, so I'm marking this Closed, won't fix. Thank you everyone for working on this issue. If you do want to maintain the Drupal 7 version, do reach out. We'd be happy to bring you on board as a maintainer.