5. Displaying the Upload Attachments Table
Last modified: December 8, 2006 - 15:59
One problem with replacing the $content variable with individually themed content fields is that the attachments table (upload module) won't be included either.
In these situations you can manually append the attachments table by adding this to the end of your custom node-type.tpl.php:
<?php
// Add the attachments list, if needed.
if (count($node->files)) {
print theme('upload_attachments', $node->files);
}
?>