I want to create a block that displays on a node. The block will show 5 random nodes and none of it should be the current node that the block is on. I know how to do the first part, placing the block and creating the random nodes, but I do not know how to eliminating the current node from display. Can someone shed some light on it.

Comments

xiaomo created an issue. See original summary.

vorvor’s picture

Status: Active » Needs review
krina.addweb’s picture

@vorvor: I have updated steps to be followed: https://www.drupal.org/node/131547#comment-11433421, hope that helps you.

Lendude’s picture

Status: Needs review » Closed (fixed)

@krina.soni nice steps that should do the trick.

krina.addweb’s picture

Thanks for praising my efforts I kept in to provide you inputs.

Feel free to ping me up for any further concerns.