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.
The implementation of hook_view starts at line 964. The D6 version of the function is commented out and uses 3 arguments ($node, $teaser, and $page), the D7 version only uses 2 arguments ($node and $view_mode).
Adding one line of code after line 966 makes the check at line 982 work again:
if ($view_mode == 'teaser') $teaser = TRUE;
The check at 982 switches between a start form button and a link to the quiz.
Comments
Comment #1
falcon CreditAttribution: falcon commentedComment #2
djdevin