Do you want to replace the text with a link or just add an image next to the link text?<div><br></div><div>You could use CSS to define a background-image and then push the text to the left with a margin. This way you can show an imagine to the general public viewing your site but also hide it from other types of non-visual media browsers.</div>
<div><br></div><div>Unless I'm misunderstanding what you're trying to accomplish.</div><div><br></div><div>Todd<br><br><div class="gmail_quote">On 18 November 2010 13:30, Salvatore De Paolis <span dir="ltr"><<a href="mailto:iwkse@gmx.com">iwkse@gmx.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi all,<br>
<br>
I need to alter some node links, in the specific I'd like some icon near<br>
comment link.<br>
Right now I'm doing it using the hook, link_alter but since it's basically<br>
something related to the theme, I'd like to do it within the theme.<br>
<br>
I'm trying with template_preprocess_block but it does not seems ti work.<br>
<br>
Code looks briefly like:<br>
<br>
$node = $vars['node'];<br>
$node->links['comment_comments']['title'] = '<img src="foo"/>';<br>
..<br>
$vars['links'] = $node->links;<br>
<br>
I suppose this is not the correct way, any hints?<br>
<br>
regards<br>
</blockquote></div><br></div>