Hello,

To get rid of 1024 limit establish in core taxonomy module (function taxonomy_form_alter) I had used the code suggested here, creating my own module: drupal.org/node/157507

<?php
/**
* Extend the allowed length of lists of free terms.
* This is code from drupal.org/node/157507 and should fix our issue
* #2165
*/
function taxonomy_length_extend_form_alter(&$form, &$form_state, $form_id) {
    if (isset($form['taxonomy']['tags'][4])) {  // where 4 is the ID of the taxonomy you want to adjust
          $form['taxonomy']['tags'][4]['#maxlength'] = 2048;  // where 4 is the ID of the taxonomy you want to adjust
                                                                               // and you want to allow 2048 chrs instead of the default 1024
            }
}

But when I've installed Active Tags module the code was not running any more...

Any suggestions?

Comments

avpaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
Issue tags: -1024 taxonomy limit, -free tags

I am removing issue tags used from one to four issues. I apologize for bumping the issue.
I am closing this issue, since Drupal 6 isn't supported anymore.