Hi

I have been using drupal seriously for a few weeks now and now have got into using the views module. This is working fine and I am getting to grips with it , but like most things does not work exactly how I want - I want to show the term name of my views as an icon. On investigation I have discovered that there is a phptemplate_views_handle_field_term_data_name overide function which, I believe, will suit my needs. Unfortunately I do not have a great deal of expertise in progamming drupal.

As I understand it I need to put this into my template.php as a function and I assume I need to return to function views_handle_field_term_data_name

function phptemplate_views_handle_field_term_data_name($fields, $field, $data) {
  /* if termid/name = ??? then show icon */
  return views_handle_field_term_data_name($fields, $field, $data)
}

If this is correct I need some code to insert the icon that is similar to that found at Replacing certain taxonomy terms with icons. How ever I am usnsure of what $fields, $field and $data contain and how they can be used to determine the terms are being passed. Any help would be appreciated.

Thanks
Tony