Preprocess functions will allow you to change the text of the link as well. Call devel module&#39;s dpm() function to inspect the links array in the preprocess function <a href="http://drupalcontrib.org/api/function/dpm">http://drupalcontrib.org/api/function/dpm</a>. Change the &#39;title&#39; attribute of the link depending on $node-&gt;comment_count.<br>
<br>dpm() output: <a href="http://imagebin.ca/view/WdTNRdD.html">http://imagebin.ca/view/WdTNRdD.html</a><br><br><br><div class="gmail_quote">On Thu, Nov 18, 2010 at 2:10 PM, Salvatore De Paolis <span dir="ltr">&lt;<a href="mailto:iwkse@gmx.com">iwkse@gmx.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">On Thu, 18 Nov 2010 13:21:48 -0700<br>
<div class="im">Carl Wiedemann &lt;<a href="mailto:carl.wiedemann@gmail.com">carl.wiedemann@gmail.com</a>&gt; wrote:<br>
<br>
</div><div class="im">&gt;   // Add to particular link class.<br>
&gt;   if (empty($node-&gt;links[&#39;comment_comments&#39;][&#39;attributes&#39;][&#39;class&#39;])) {<br>
&gt;     $node-&gt;links[&#39;comment_comments&#39;][&#39;attributes&#39;][&#39;class&#39;] = $myclass;<br>
&gt;   }<br>
&gt;   else {<br>
&gt;     $node-&gt;links[&#39;comment_comments&#39;][&#39;attributes&#39;][&#39;class&#39;] .= &#39; &#39; .<br>
&gt; $myclass;<br>
&gt;   }<br>
&gt;<br>
&gt;   // Reformat all links<br>
&gt;   $vars[&#39;links&#39;] = !empty($node-&gt;links) ? theme(&#39;links&#39;, $node-&gt;links,<br>
&gt; array(&#39;class&#39; =&gt; &#39;links inline&#39;)) : &#39;&#39;;<br>
&gt; }<br>
&gt; // END<br>
<br>
</div>Maybe I am misunderstanding it or/and I did not explain good.<br>
Is not it supposed to show the text &quot;no comments&quot; when there are not<br>
comments and instead when some comments it shows the text together with<br>
the icon?<br>
I want something different, when no comments, it shows no text but only<br>
the icon. When some comments, it shows both text and icons.<br>
</blockquote></div><br>