Skip to content

Instantly share code, notes, and snippets.

@stevencwarren
Created November 18, 2010 16:45
Show Gist options
  • Save stevencwarren/705255 to your computer and use it in GitHub Desktop.
Save stevencwarren/705255 to your computer and use it in GitHub Desktop.
function athlon_poll_preprocess_poll_results(&$variables)
{
$poll_node = node_load($variables['nid']);
$variables['answer'] = $poll_node->answer['chanswer'];
$variables['template_files'][] = 'templates/poll-results-block';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment