I have created a view based on a simple content type comprising of a title, a file and a short description and I am wanting to replace the URL of the title with that of the file.
I have set the field order as; File > Title > Description and the URL formatter of the File is set as 'URL to file'. In addition I have also disabled 'Link this field to the original piece of content' in the Title. For the moment the File URL is included in the display for cross checking purposes.
The File URL is printing correctly, however the the replacement token in the Title is not. I should say also that my client is in the habiting of including spaces the file names. For example '16 march 12.pdf' , which of course results in lots of %20 in the url.
So a typical url should be http://mysite.com/sites/default/files/16%20march%2012.pdf
However the token is printing http://mysite.com/%0A%20%20http%3A//mysite.com/sites/default/files/16%25...
Any pointers would be most appreciated.
This exactly the same setup which I have on another site which is working as it should.
Comments
Comment #1
mrpauldriver commentedThis turned out to be a issue caused by the Fences module and was perhaps nothing to do with Views.
The issue goes away when Fences is disabled.
Please would the maintainer move this thread to the Fences issue queue.
Comment #2
mrpauldriver commentedComment #2.0
mrpauldriver commentedrefined
Comment #3
mustanggb commented