I have a switch statement in my content type tpl file for 2 different view modes:
<?php
switch ($view_mode) {
case 'full' :
?>
//content for full view mode here
<?php break;
case 'custom-display-mode' : ?>
//content for custom display mode view mode here
<?php break;
} ?>
How can I print the teaser view mode within full display mode? Can I print it out in the same way you can print fileds in a tpl file?
<?php
switch ($view_mode) {
case 'full' :
?>
//content for full view mode here
//********* also print teaser view mode here **********
<?php break;
case 'custom-display-mode' : ?>
//content for custom display mode view mode here
<?php break;
} ?>