2

Hi I am working with a drupal 7 I have created multiple content types for the site. I want to display the content of the help text of a particular cck field above the input field instead of displaying it below the input field

2 Answers 2

2

you could use template_preprocess_field ( preprocess for theme_field ) to adjust the position of field description/help text.

Cheers

1
  • Doesn't this only affect the view of a node, rather than the form used to create/edit it? Commented Oct 1, 2012 at 17:47
1

There's a module for that: Label Help

In normal rendering of Drupal form fields, the field's "description" (i.e., its help text) gets placed below the form's input element, which is not necessarily the most useful place to place it. On textarea form fields that enable multiple input formats, for example, the field's help text gets placed below the text format selector and tips. This means that website users are unlikely to notice and read the help text.

1
  • Hello and welcome. Please avoid link-only answer. The least you should do is to quote relevant part of module's page to show how exactly it answers the question.
    – Mołot
    Commented Nov 23, 2014 at 13:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.