[development] modify the "add comment" in links

Earnie Boyd earnie at users.sourceforge.net
Mon Feb 23 21:11:02 UTC 2009


Quoting andrew morton <drewish at katherinehouse.com>:

> On Mon, Feb 23, 2009 at 12:03 PM, Earnie Boyd
> <earnie at users.sourceforge.net> wrote:
>> Quoting Aldo Martinez Selleras <aldo at caonao.cu>:
>>
>>> how can i change the link title "Add comment" for Reply, but only for
>>> forum
>>> and blog posts??
>>>
>>
>> http://api.drupal.org/api/function/hook_form_alter
>
> Actually I think the correct choice would be hook_link_alter():
> http://api.drupal.org/api/function/hook_link_alter/6
>

Will that change the #value of the submit button?

--
Earnie  http://r-feed.com
  Make a Drupal difference and review core patches.

-- http://for-my-kids.com/  -- http://give-me-an-offer.com/



More information about the development mailing list