[support] adding "description" help text to block configuration form

Metzler, David metzlerd at evergreen.edu
Fri Jul 17 21:24:11 UTC 2009


The form_defaults module also provides this funtionality.  

-----Original Message-----
From: support-bounces at drupal.org [mailto:support-bounces at drupal.org] On
Behalf Of Earnie Boyd
Sent: Friday, July 17, 2009 10:54 AM
To: support at drupal.org
Subject: Re: [support] adding "description" help text to block
configuration form

Quoting Neil Coghlan <neil at esl-lounge.com>:

> I've never tried to user hook_form_alter to change a form. I'd like to

> just add a line or two of help text to the block configuration form on

> the user account edit page. Is hook_form_alter even the best way to do

> this?
>

Probably this is what you want to do.

> could someone just give me a pointer as to where to begin with this?  
> Do I need to make a separate module with just the hook_form_alter in 
> it?
>

Yes, if you use hook_form_alter you need a custom module.

> Interestingly, D7 will now have a few lines of help text in the  
> block config form, but I'm on D6.
>

This http://drupal.org/project/advanced_help might help as well.

--
Earnie
-- http://r-feed.com/           -- http://for-my-kids.com/
-- http://www.4offer.biz/       -- http://give-me-an-offer.com/


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


More information about the support mailing list