Skip to content
Snippets Groups Projects
Commit bf214e8e authored by Eric Rasmussen's avatar Eric Rasmussen
Browse files

[gh-125] Merging testing into staging -c1191

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@1192 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent 74ce6907
No related branches found
No related tags found
No related merge requests found
......@@ -54,10 +54,12 @@
hide($content['links']);
// If more than one image is available, show the addtional images
if ($view_mode == 'full' && isset($content["field_unl_newsimg"][1])) {
if ($view_mode == 'full') {
print render($content["body"]);
unset($content["field_unl_newsimg"][0]);
print render($content["field_unl_newsimg"]);
if (isset($content["field_unl_newsimg"][1])) {
unset($content["field_unl_newsimg"][0]);
print render($content["field_unl_newsimg"]);
}
} else if ($view_mode == 'teaser') {
print render($content["field_unl_newsimg"]);
print render($content["body"]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment