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.
auction_add_page theme function used in ModelUIController::hook_menu() will not work if called like theme('model_add_page', array('content' => $content)) because the hook theme that defines it is not implemented. It should be just added to model.module:
/**
* Implements hook_theme().
*/
function model_theme($existing, $type, $theme, $path) {
return array(
'model_add_list' => array(
'variables' => array('content' => NULL),
),
);
}
Comments
Comment #1
AnybodyWell I think hook_theme is included for model_add_list in the current release... have a look!