Hi,

My patch would like to fix the hook_block() and hook_nodeapi() in the links_related.module.

  1. A typo ($oage => $page)
  2. In links_related_nodeapi(), I put the links_load_links_for_node($node->nid, 'links_related'); into the "load" op, because in this case you are able to use the blocks in those regions which are in the nodes or views.
  3. The hook_block, because the current output is only "Array Array ..."
CommentFileSizeAuthor
links_related_list.patch2.05 KBaries
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

syscrusher’s picture

Thanks for the bug report. The typo is fixed in tonight's CVS commit. The block error is still under investigation. Your code seems to work, but it turns out I may have made a more fundamental error with the Drupal core API use, and someone else contacted me outside the issues to document that. I believe the other person's patch may fix your bug as a by-product, so I'm putting this one on hold until I know for sure. Either way, the bug is confirmed and will get fixed. Thanks!

Scott

syscrusher’s picture

By the way, I didn't do a full release tonight, because I'm holding to roll in a couple more bug fixes.

lennart’s picture

These problems seem to remain.