Hey guys,

I'm starting to pull my hair out on this one.

I have content type "foo" and content type "bar"

Content type "bar" has fields "title" "body" "field_one" and "field_two"

Inside content type "foo" I use the reference module to reference "bar"

Inside my template I write

<?php print $node->field_bar[0]['view']; ?>

and what this does is print all the fields inside content type "bar"

Let's say I only want to print "field_one" and "field_two" and exclude the rest. How would I go about doing this?