I had originally posted this in the CCK Fieldgroup Tabs module area, but this might be a better place to ask the question. I've been working on a custom node.tpl so that I can have full control over CCK field output for that content type. I can't quite figure out how to retain the group tabs when doing this. I have CCK Fieldgroups and Tabs installed. In stock form, the tabs work as they're supposed to.

I'm able to display the fields with success using this code:

<?php
echo $node->field_name[0]['view'];
?>

But doing this doesn't retain the tabs structure. How would I structure the code so that I can theme the content within each tab? Can I manually display certain tabs (that have content, of course)? I've been stuck on this for a couple weeks now, so any help would be greatly appreciated.