Item info while hovering?
Posted: Thu Oct 01, 2015 8:25 pm
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.
results in:
I saw obj->description being used in another module and was hopefully this would be universally usable but, I guess not. 
Code: Select all
echo "<td width='1%'>" . ($obj->image_file == NULL ? " " : "<img src='{$webBaseDir}modules/inventory/images/$obj->image_file' title={$obj->description}>") . "</td>";
Code: Select all
<img src="/vandhtest/modules/inventory/images/39.png" title="">
