I used Nodes in Block 6.x-1.2 and it works like a charm. Today i upgraded to 6.x-1.3 and for some reason $node->content['body']['#value'] is incomplete.

In 1.2 i get the full content and in 1.3 i only get around 500 to 600 characters.

Comments

thereloaded’s picture

Ok i guess i submitted too fast.

nodesinblock.module Line 388 is wrong, so it always gets rendered as teaser.

change
$output .= ($row->render == NIB_RENDER_TEASER_WITH_LINKS || NIB_RENDER_TEASER_WITHOUT_LINKS) ? node_view($node, TRUE, FALSE, $links) : node_view($node, FALSE, TRUE, $links);
to
$output .= ($row->render == NIB_RENDER_TEASER_WITH_LINKS || $row->render == NIB_RENDER_TEASER_WITHOUT_LINKS) ? node_view($node, TRUE, FALSE, $links) : node_view($node, FALSE, TRUE, $links);

swentel’s picture

Status: Active » Fixed

Good catch, thanks for the report! Committed, there will be another release pretty soon to revert some changes which I shouldn't have made between 1.2 and 1.3.

lukus’s picture

Thanks - this is brilliant .. just what I needed. I had the same issue with teasers being served every time.

@swentel - thanks for such a useful module... it's a really nice system.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.