I've noticed that when I add help text to the vocabulary, and enable taxonomy super select, it doesn't show up at all on the "create new content" page.

I patched the module file so that it adds $vocabulary->help to the output, but now it takes the "description" field instead of the "help text" field from the vocabulary settings.

Help appreciated!

CommentFileSizeAuthor
helptext_0.patch749 bytesjenlampton

Comments

nancydru’s picture

Status: Needs work » Needs review

This might work better for you:

      if ($term->help) {
        $help = '<div class="taxonomy-super-select-help">'. $term->help .'</div>';
      }
      else {
        $help = null;
      }
      $form = array(
        '#type' => 'fieldset',
        '#title' => check_plain($term->name) . $required,
        '#collapsible' => TRUE,
        '#collapsed' => $collapsed,
        '#weight' => ($fieldweight >= 0) ? $fieldweight : $term->weight,
        '#parents' => array('taxonomy', $vid),
        '#description' => $term->description . $help,
        '#prefix' => '<div class="taxonomy-super-select-'. ($term->multiple ? 'checkboxes' : 'radios') .'">',
        '#suffix' => '</div>',
      );

With all the other fixes I have applied, creating a proper patch file is very difficult.

nancydru’s picture

Assigned: jenlampton » nancydru
Status: Needs review » Fixed

This is now in 5.x-1.10.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.