I'd like to add a title tag to the items when they are viewed in inventory. I tried adding some code to the existing line in the content.php file of the inventory module to do this but, I just end up with a title tag with nothing after it.
Code: Select all
echo "<td width='1%'>" . ($obj->image_file == NULL ? " " : "<img src='{$webBaseDir}modules/inventory/images/$obj->image_file' title={$obj->description}>") . "</td>";
results in:
Code: Select all
<img src="/vandhtest/modules/inventory/images/39.png" title="">
I saw obj->description being used in another module and was hopefully this would be universally usable but, I guess not.