Is there a way to theme the output of file field to include the document icon on the right of the file link instead of the left? It's an odd request from a client and I tried using css to accomplish this, but no dice.

Thanks,
Becky

Comments

quicksketch’s picture

Status: Active » Fixed

You can override the theme_filefield_file() theme function just like any other theme function in Drupal. Copy the original function and paste it into template.php, rename it to [theme_name]_filefield_file() and then clear your caches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.