Once I added $course to the globals in the display() function in resource.class.php this all worked.
Resource types
adding a link to all resource boxes
This discussion has been locked so you can no longer reply to it.