When you first enable the Upload module and start attaching files like PDFs to your nodes, you'll notice that those attachments are displayed in a table at the bottom of the node showing the file name and size of each file attached to the node. This works for most situations, but sometimes you want to make things look just a little bit different.
In today's example we'll re-theme the attachments display to remove this table. In our use case the user will only be attaching one file, a PDF, to each node. Rather than have the PDF's name display in table - they want a simple link with the text "Download the PDF". So how do we make this change?
The answer is a theme override. The default attachments display is provided by theme_upload_attachments(). By overriding this theme function in our site's theme, we can change the behavior however we want. In this tip we'll be learning how to override a theme function using some basic PHP knowledge and a bit of help from the Drupal API site.
