I am trying to build a simple Views Accordion view to display support documents. I created a simple content type with three fields: Group (my category), Document Title, and File. The only way I can get the attached file to appear is by inserting the field Content: File. That links to the file and displays the little PDF icon, but shows the actual filename as the hyperlink text. I would like to use the Document Title field contents as the hyperlink text, but can't figure out the proper way to do this. I have tried hiding the file from display and rewriting the output of the Document Title field to be something like:
However, it appears Drupal is rendering the link to the file instead of inserting the path to the file, as it shows the PDF icon and the filename.
Is there a way to override the hyperlink text when showing an attached file?