theme_X functions should never be called directly. Rather, they should be called like:
theme('X', $stuff);
so that they use Drupal's theme override mechanism.
So for example, in quiz_view:
$node->body = theme_quiz_view(&$node, $teaser, $page);
should be:
$node->body = theme('quiz_view', &$node, $teaser, $page);
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | quiz_theme_fix.patch | 5.39 KB | seanbfuller |
Comments
Comment #1
seanbfuller commentedAck! Oversight on my part. Good catch.
Comment #2
seanbfuller commentedHere's a patch to fix the incorrect calls to the theme functions.
Comment #3
seanbfuller commentedCommitted to HEAD.
Comment #4
(not verified) commented