Even if you enter the "Help text" when creating a "Feed field" the "Help text" does not appear in the creation or editing of a Custom Content Type using "Feed field." To add the "Help text" locate the following code block in "feed_field.module" near line 370:
$element[$field] = array(
'#type' => 'select',
'#title' => 'Would you like to include an excerpt from each link in the feed?',
'#options' => $period,
'#default_value' => isset($element['#value'][$field]) ? $element['#value'][$field] : NULL,
);
Then add: "'#description' => $element['#description']," to the code so that it reads:
$element[$field] = array(
'#type' => 'select',
'#description' => $element['#description'],
'#title' => 'Would you like to include an excerpt from each link in the feed?',
'#options' => $period,
'#default_value' => isset($element['#value'][$field]) ? $element['#value'][$field] : NULL,
);
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | feed_field_help.patch | 527 bytes | As If |
Comments
Comment #1
As If commentedWorks as advertised, although it might be nice if the placement was at the top instead of the bottom of the fieldset. But anyway, here is a patch for this.
Comment #2
As If commented