Using Drupal 7 I have setup a structure in which a widget_set content type has a node reference field that allows the user to choose nodes of the content_widget content type.
The template files are node--widget_set.tpl.php
and node--content_widget.tpl.php
Inside the node--widget_set.tpl.php
template, I call print render($content); and was hoping to have the output be formatted as specified in node--content_widget.tpl.php
, but I just get output that seems to ignore the content_widget template.
Is that the expected behavior? I could just pull the code from the content_widget template into the widget_set template but I have a bunch of content_widget types and wanted to keep them all separate.
Thanks.