[support] placement of help text for field and theming

Ryan LeTulle bayousoft at gmail.com
Sun Mar 6 14:40:38 UTC 2011


O cool.  I love finding easily approachable stuff like this. :)
*

Ryan LeTulle*

> bayousoft <http://twitter.com/bayousoft> -twitter








On Sun, Mar 6, 2011 at 8:33 AM, Jamie Holly <hovercrafter at earthlink.net>wrote:

> 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.
> >
> >
> >
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110306/ad474ad8/attachment.html 


More information about the support mailing list