How do I use theme preprocessor functions for my own templates?
For a general overview, you should read up on manipulating variables within preprocess functions. Concerning the naming convention, this is normally pretty simple, but there is a catch for your current example (see below): A preprocess functions signature needs to be [yourModuleName|yourThemeName]_preprocess_[themeFunctionName](&$variables) so implementing one for the page template within a themes template.php file would … Read more