following snippet of code

function theme_synth_product_full($node) {

$output = '';
$output .= theme_synth_product_teaser($node);

return $output;
}

has to be converted into drupal 6x compatible format using hook_theme() function. I am clueless as to how to begin - Any idea?

Comments

summit’s picture

Subscribing, same problem on other module: http://drupal.org/node/290622#comment-2430344
Greetings, Martijn

Keromin4151’s picture

Priority: Critical » Minor
Status: Active » Closed (fixed)

hook_theme conversion document can be seen in drupal API documentation. One could either have the 'file' parameter point to its own module or one could simply have theme function converted into .inc files and change 'file' parameter to point to corresponding file.