I've created a Block using a View and would like to add some information to it that cannot be obtained from the View itself. I need to write a small function that queries for some extra data.
I thought of putting this function in the MYTHEME_preprocess_node but when I put a simple $variables['test'] = 'test' and then do a print $test in one of the .tpl files that outputs the Block's content, nothing shows.
Am I on the right track?