[support] placement of help text for field and theming

Jamie Holly hovercrafter at earthlink.net
Sun Mar 6 14:33:41 UTC 2011


Have a look at theme_form_element:

http://api.drupal.org/api/drupal/includes--form.inc/function/theme_form_element/6

You can simply copy that code into your theme's template.php file and 
rename it {my_theme_name}_form_element and change the code around.

Jamie Holly
http://www.intoxination.net
http://www.hollyit.net


On 3/6/2011 7:23 AM, Benjamin Jacob wrote:
> Hi All,
>
> Is there a way to place help text for a given CCK field just below the label, instead of the usual help text below the actual field?
>
> This because when I have a multi-valued field (say references), the help text appears way below the last value entry. A user might typically miss out on the help instructions.
>
> Also, anyway to theme the text as well (instead of the usual allowed tags), say, setting a background for specific field's help text only?
>
> Thanks in advance.
> - Ben.
>
>
>


More information about the support mailing list