Posted by jenlampton on September 6, 2007 at 11:57pm
2 followers
Jump to:
| Project: | Taxonomy Super Select (TSS) |
| Version: | 5.x-1.5-1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | NancyDru |
| Status: | closed (fixed) |
Issue Summary
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!
| Attachment | Size |
|---|---|
| helptext_0.patch | 749 bytes |
Comments
#1
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.
#2
This is now in 5.x-1.10.
#3
Automatically closed -- issue fixed for two weeks with no activity.