I'm customizing a node type and have successfully output the cck fields to display, only thing holding me back now is displaying the uploaded files (attachments).

I found this snippet thinking it would solve the problem, but nothing is output. I tried no nid as well, no output. Thinking it was maybe a node.ptl issue, I tried putting the snippet in a node body (php filter), but again, nothing is output.

// Self explanatory code.
$playlist = swftools_playlist_from_upload(24);
print swf_list($playlist);

Comments

bsuttis’s picture

Status: Active » Closed (fixed)

Ugh, stupid me -- I had the files 'List' option unchecked.