Is there a way to theme the output of this module?
I don't see any .tpl files… Ie. how can I display a list instead of a table?
And also individual fields? Ie. How can I display a submitted image instead of a link to it?

Comments

jimbullington’s picture

Thank you for this report. Unfortunately, the module does not currently use .tpl files - probably something that needs to be done, however.

For displaying images instead of links, you might look into the PHP Code option. If, for example, the file upload field is the fifth column, you could use something like this:

foreach($rows as $i => $row) {
    $path = $row[5]['path'];
    if ($path) {
       $rows[$i][5]['data'] = '<img src="' . $path . '" />';
    }
}
jdanthinne’s picture

Ok, I'll get my hands dirty with PHP.
.tpl would be a nice feature… If I have some time, I'll have a look as well.