--- nodeblock.module +++ (clipboard) @@ -137,12 +137,14 @@ return; } $nodeblock_display = variable_get('nodeblock_block_' . $delta, array('teaser' => 0, 'links' => 1)); + $lang = "und"; // if the node type is translatable, try to load the node with the appropriate // language from the translation set. if (module_exists('translation') && translation_supported_type($node->type)) { global $language; $translations = translation_node_get_translations($node->tnid); + $lang = $language->language; if ($translations[$language->language]) { $node = node_load($translations[$language->language]->nid); } @@ -158,7 +160,11 @@ $node->nodeblock = TRUE; $block['subject'] = check_plain($node->title); - $block['content'] = node_view($node, $nodeblock_display['teaser'], TRUE, $nodeblock_display['links']); +// $block['content'] = node_view($node, $nodeblock_display['teaser'], TRUE, $nodeblock_display['links']); + + $display_type = ($nodeblock_display['teaser']) ? "teaser" : "full"; + $block['content'] = node_view($node, $display_type, $lang); + return $block; }