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.
Hey Bryan,
Been trying to output Pollfield with php via Contemplate but have had no success yet. Would you have any tips please?
Here are my snippets that did not work
print $node->field_poll[0]['value'];
print $node->field_poll[0];
print content_format('field_poll', $node->field_poll);
Comments
Comment #1
giorgio79 CreditAttribution: giorgio79 commentedJust as a best practice reference, http://drupal.org/project/rate has a very nice explanation on how to do this in its README.txt :)
Comment #2
giorgio79 CreditAttribution: giorgio79 commentedI think I am having this issue because of #868256: Pollfield default settings not inherited when editing existing nodes. All polls are closed, since the default "active was not inherited.
Setting this to postponed until that issue is fixed.