Hi there

Don't you think the links (those ones below the content showing things like "add comment" or "print preview",... ) should be disabled when the content is displayed in a block? Or at least it would be nice to be able to disable them somewhere. node_view() has a fourth parameter that could be set to false to hide the links. In nodesinblock.module on line 221, the following code would hide the links:

 $output .= ($row->render == NIB_RENDER_TEASER) ? node_view($node, TRUE, FALSE, FALSE) : node_view($node, FALSE, TRUE, FALSE);

Cheers,
Michael

Comments

swentel’s picture

Hmm, good point, never thought about that actually. I'll implement that somewhere this weekend!

swentel’s picture

Status: Active » Fixed

This got committed in the Drupal 6 branch, thx for the tip!

Status: Fixed » Closed (fixed)

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