[development] Altering links

Salvatore De Paolis iwkse at gmx.com
Thu Nov 18 22:43:57 UTC 2010


On Thu, 18 Nov 2010 15:18:16 -0700
Carl Wiedemann <carl.wiedemann at gmail.com> wrote:

> Preprocess functions will allow you to change the text of the link as well.
> Call devel module's dpm() function to inspect the links array in the
> preprocess function http://drupalcontrib.org/api/function/dpm. Change the
> 'title' attribute of the link depending on $node->comment_count.
> 
> dpm() output: http://imagebin.ca/view/WdTNRdD.html

Thanks a lot Carl, it is what i was looking for!


More information about the development mailing list