[development] modify the "add comment" in links

andrew morton drewish at katherinehouse.com
Mon Feb 23 23:13:57 UTC 2009


On Mon, Feb 23, 2009 at 1:11 PM, Earnie Boyd
<earnie at users.sourceforge.net> wrote:
> 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?

I might have misread his comment. I thought he wanted to change the
links at the bottom of the nodes rather than the button labels. If it
was the later than you'd be correct.

andrew


More information about the development mailing list