[support] placement of help text for field and theming

Benjamin Jacob ben4asterisk at yahoo.com
Sun Mar 6 17:32:55 UTC 2011


Same here! :-)

Thanks a ton Ryan and Jamie. Lemme try this one out.

cheers
- Ben

--- On Sun, 3/6/11, Ryan LeTulle <bayousoft at gmail.com> wrote:

From: Ryan LeTulle <bayousoft at gmail.com>
Subject: Re: [support] placement of help text for field and theming
To: support at drupal.org
Date: Sunday, March 6, 2011, 2:40 PM

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

Ryan LeTulle

> 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/ ]




-----Inline Attachment Follows-----

-- 
[ Drupal support list | http://lists.drupal.org/ ]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110306/29caa2ed/attachment.html 


More information about the support mailing list