0

I am using Drupal 7. I have a view where i filer a certain content type say "A" and display the below 2 fields Content: Title Content: File attachments

My File attachment formatter is set "Url to file".

What i am trying to achieve is to make 'Title' as a link with the 'File Attachment' URL

Thanks in advance!

1 Answer 1

2
  • for the Title, set it 'Exclude from display'
  • for the File attachments, 'Rewrite the output of this field' using the token for Title

Make sure the Title field appears above the file attachment, or the file attachment won't recognize it as a valid token when rewriting the output

1
  • Great, worked fine!
    – hzak
    Apr 21, 2015 at 0:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.