Drupal 6 Module Development: Creating a Related Nodes Block Tutorial 1 of 2
In this Drupal Video Tutorial, we take a look at custom module development. With our module, we create a block that will list other related nodes based on the taxonomy terms of the node being viewed. In this tutorial, we'll look at how to call hook_block, how to manage the $op variable, querying the database and returning a value to our block.
While this is easily done with the Views module, we'll this a step further in Tutorial #2 and ensure we get 5 random results and if 5 aren't available, we'll populate the list with additional nodes based on the content type we are viewing.
This tutorial is about 34 minutes in length and I apologize in advance for the sound quality.