The wurfl_theme function is present in the wurfl.admin.inc file, but it should be in the wurfl.module folder so Drupal actually sees it. Additionally, it needs to tell Drupal where to find the theme_wurfl_status function over in the wurfl.admin.inc file, so the 'file' array element needs to be added. Also, $items should probably be an array when you go to add elements to it.
Here's my version at the bottom on the wurfl.module
/**
* Implementation of hook_theme
*/
function wurfl_theme($existing, $type, $theme, $path){
$items= array(); //this is new
$items['wurfl_status'] = array(
'arguments' => array('message' => NULL, 'type' => "status"),
'file' => 'wurfl.admin.inc', //this is also new
);
return $items;
}
Comments
Comment #1
ahaarnos commentedComment #2
twom commentedThx,
I committed the fix.