Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#6 | maxlength-taxonomy-term-support-1460324-6.patch | 5.52 KB | santiwww |
#5 | maxlength-taxonomy-term-support-1460324-5.patch | 5.21 KB | santiwww |
#2 | maxlength-taxonomy-1460324.patch | 4.95 KB | zhuber |
Comments
Comment #1
ArrowI second this.
Comment #2
zhuber CreditAttribution: zhuber commentedI'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>"
Comment #3
impol CreditAttribution: impol commentedfunction _maxlength_add_maxlength_attributes missed :(
Comment #4
santiwww CreditAttribution: santiwww commentedChanged status to needs work until someone fix this patch
Comment #5
santiwww CreditAttribution: santiwww commentedI'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.
Comment #6
santiwww CreditAttribution: santiwww commentedI 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.
Comment #7
cedeweyWe 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.