Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On http://api.drupal.org/api/function/template_preprocess_poll_results/6 there is a reference to theme_poll_results():
See also
theme_poll_results()
However in D6, theme_poll_results() no longer exists.
Comment | File | Size | Author |
---|---|---|---|
#4 | 361225.patch | 1.02 KB | nvahalik |
Comments
Comment #1
add1sun CreditAttribution: add1sun commentedAPI docs go in the core queue, especially since this will require a patch to poll.module.
Comment #2
jhodgdonNote that someone (sigh) has made a dummy theme_poll_results() function in Drupal 6. Please remove the @see in template_preprocess_poll_results(). There is already a reference to poll_results.tpl.php, which is the correct reference.
This needs to be fixed first in Drupal 7.
Comment #3
jhodgdonTo clarify: Please remove the @see that points to theme_poll_results, which is not really a function.
Also this one has the wrong file name: @see poll-results-block.tpl.php
Good project for a novice!
Comment #4
nvahalik CreditAttribution: nvahalik commentedLet's try this patch.
Comment #5
cwgordon7 CreditAttribution: cwgordon7 commentedLooks pretty good! Nicely done. :)
Comment #6
webchickGreat work! :) Committed to HEAD!