Closed (duplicate)
Project:
FileField
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Dec 2006 at 18:50 UTC
Updated:
3 Sep 2007 at 12:59 UTC
Jump to comment: Most recent file
Comments
Comment #1
kevinwalsh commentedOops, that should have read
$imagepath = drupal_get_path('module','filefield') .'/ico/'. $ext .'.png';which generates URLS like /node/NID/module/filefield/ico/pdf.png
to
$imagepath = '/modules/filefield/ico/'. $ext .'.png';Comment #2
kevinwalsh commentedIs there a plan to get the file icons to appear on the View page (currently they only appear on the Edit page)?
Comment #3
kevinwalsh commentedHere is a folder with some icons. Drop this into your modules/filefield/ folder
Comment #4
jpetso commented#146784 has a better solution to this issue, even if I don't consider the initial comment/patch clean enough to be committed. I think this issue can be closed as "duplicate".