I am overriding a Display Suite view mode of a node using the template suggestion myLayout-node-myNode-full.tpl.php.
I am getting the $node->content using the node_build_content function. Then I have access and I am rendering all the node display fields using:
drupal_render($node->content['field_myField'])
But I cannot render fieldgroups using the drupal_render function, as it requires array parameter, but my fieldgroups are stdClass objects that can be accessed as:
$node->content['#groups']['group_myGroup']
Printing the $node variable, I do not get any other reference to fieldgroups, eg. $node->content['group_myGroup'] does not exist.
Any suggestions on how I could render fieldgroups in my template file in Drupal 7?