Hi All,
First - I'm not programmer. OK. I have a page that displays a tree based on Taxonomy terms. When I am displaying the list of files I get the icon and the file name. The file name links to the file - as it should but hte icon goes god know where. Preferably I would like the icon there as a static image. Or figure out where the url is being generated.

Here is the URL:
http://skcgdev.com/app/category/document-library/employee-benefits/test

Cheers
mr

Comments

quicksketch’s picture

In a stock installation of Drupal and FileField, the icon doesn't actually link anywhere at all. See the default theming provided by FileField at http://api.lullabot.com/theme_filefield_file/6.

It looks like what's happened here is that you've used Views and marked the field "link this field to its file" or something like that, causing a link to be wrapped around both the icon and the file name. Check the configuration of your view and disable this option.

Averiz’s picture

Status: Active » Closed (fixed)

That was it - thank you!

In the view I had the file field output as link with this: [field_file_fid] == Content: File (field_file). Since the file download worked I never thought to turn the link off. The wrapper around the icon had the funky link. And so off I went . . . Thanks again!

Cheers
mr