2 added 113 characters in body
source | link

I can print a field in content type tpl file with this:

<?php echo render($content['field_name']); ?>

But how can I print the field but foras a different display mode?

EG I might always want to print the teaser version of an image field, regardless of what view mode is being used.

I can print a field in content type tpl file with this:

<?php echo render($content['field_name']); ?>

But how can I print the field but for a different display mode?

I can print a field in content type tpl file with this:

<?php echo render($content['field_name']); ?>

But how can I print the field as a different display mode?

EG I might always want to print the teaser version of an image field, regardless of what view mode is being used.

1
source | link

Print a field in a set display mode

I can print a field in content type tpl file with this:

<?php echo render($content['field_name']); ?>

But how can I print the field but for a different display mode?