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

Earnie Boyd earnie at users.sourceforge.net
Fri Jul 17 17:54:09 UTC 2009


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/




More information about the support mailing list