This topic is locked

Replace link with image

10/30/2008 11:50:27 PM
PHPRunner General questions
R
ringah author

Have seen a couple of posts using events and custom formats on this but can't get them to work...settled on custom format which seems easiest:

$value = "<a href=".$value."><img src=\"images/pdf.gif\"></a>";


In List view GIF shows but file links doesn't work ... seems to be bec. linked files are saved in sub directory called docsin/
Any ideas on how to modify code (".$value.") value string to point to docsin/ sub directory much appreciated...

J
Jane 10/31/2008

Hi,
try to use this one:

$value = "<a href=\"docsin/".$value."\"><img src=\"images/pdf.gif\"></a>";