Skip to content

Commit

Permalink
[gh-262] Merging test into staging -c1286
Browse files Browse the repository at this point in the history
git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@1287 20a16fea-79d4-4915-8869-1ea9d5ebf173
  • Loading branch information
Eric Rasmussen committed Nov 15, 2011
1 parent 46f515b commit 9618449
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion node--unl-newsitem.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@

// If more than one image is available, show the addtional images
if ($view_mode == 'full') {
print render($content["body"]);
foreach (array_diff(array_keys($content), array('field_unl_imgcar', 'field_unl_newsimg', 'links', 'comments')) as $field) {
print render($content[$field]);
}
if (isset($content["field_unl_newsimg"][1])) {
unset($content["field_unl_newsimg"][0]);
print render($content["field_unl_newsimg"]);
Expand Down

0 comments on commit 9618449

Please sign in to comment.