Drupal Module Development: Creating a Related Nodes Block 2 of 2
In this Drupal video tutorial, we continue on with developing a related node queue that was started in Tutorial 1. We check to see how many nodes are returned with the same taxonomy terms and if it is less than 5, we run another query for nodes of the same content type.
This video is about 19 minutes in length and I apologize in advance, but the PIP video goes a little off half way through. Rest of the video is fine though.

Comments
I'm getting a parse error
I'm getting a parse error in:
$output [] = 1($relatednode->title, $pathalias,$options = array()) . '' . $relatednode->body;
What am I doing wrong?
Regarding $output [] =
Regarding $output [] = 1($relatednode->title, $pathalias,$options = array()) . '' . $relatednode->body;
Sorry about that. I put a 1 instead of l
Thanks.
Hey Fred, it's always the
Hey Fred,
it's always the little things... thanks for watching the tutorials.
Pete
Well you opened the door to
Well you opened the door to my development in drupal!
I wonder if it's possible to send me the files (relatedqueue.info relatedqueue.module) , so I can have a better understand of the first part of the video
Great tutorial,
Lots os thks!
Hi Manuel, I sent you the
Hi Manuel,
I sent you the files this morning. I'll also try and post them here although for all else who use them, the module is not complete as there should be some error checking in there to make sure everything is set up properly (i.e., handle there not being any other nodes with a specific term).
-Pete
Post new comment