This is where we layout the custom fields how we want.
Since I'm using the GARS_mod_container template (which gives you the expandable box), I set the title:
PHP Code:
$title = "Rating";
The GARS_mod_container template is a table that expects a variable called $bits, so we make that and stick our $values['my_rating'] in there:
PHP Code:
$bits = "<tr><td class=\"alt1\" align=\"center\">" . $values['my_rating'] . "</td></tr>";
Notice that we stick it in a table row!
Then we use the handy eval command to paste it all together into the $output variable (note how it is appended to output instead of assigned!)
PHP Code:
eval('$output.="' . fetch_template('GARS_mod_container') . '";');