I was curious if there is a way to display the actual list of file links attached to a page node as opposed to displaying the text:
"[#] attachments" - [#] being however many attachments there were.
I attached an image for further clarification.
| Comment | File | Size | Author |
|---|---|---|---|
| nodes-in-block-files.jpg | 43.01 KB | danish_nizzle |
Comments
Comment #1
swentel commentedIf you render the node as a page, it should do that.
When looking at the code in upload module, you'll find this:
It only renders the files when the node is rendered with the $page boolean. So you can
a) Render it as full node
b) write your hook_nodeapi and add this same function to the node object.