Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
vorvor CreditAttribution: vorvor at Cheppers commentedhttps://www.drupal.org/node/131547
Comment #3
krina.addweb CreditAttribution: krina.addweb at AddWeb Solution Pvt. Ltd. commented@vorvor: I have updated steps to be followed: https://www.drupal.org/node/131547#comment-11433421, hope that helps you.
Comment #4
Lendude@krina.soni nice steps that should do the trick.
Comment #5
krina.addweb CreditAttribution: krina.addweb at AddWeb Solution Pvt. Ltd. commentedThanks for praising my efforts I kept in to provide you inputs.
Feel free to ping me up for any further concerns.