Add function to template.php
useing their fiel