I am sure everyone has had a time when using drupal that you have had to create a page and needed to alter the output that may be given by a Drupal module. A lot of the time this leads to much frustration cursing and in the end some sort of core hacking or something of that nature as well as cursing and hours of confusion.
Introduction
I think that is one of the subtle failures by drupal is getting all the power it has harnessed and being able to easily access resources on certain topics. Yet once you manage to get into the details it can be pretty sweet.
In this case there is a bit that needs to be understood about themeable functions, and for that be sure to look here for the basics of theming and what it entails. This is more a practical example. Continue reading