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.
Hi,
My patch would like to fix the hook_block() and hook_nodeapi() in the links_related.module.
- A typo ($oage => $page)
- 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.
- The hook_block, because the current output is only "Array Array ..."
Comment | File | Size | Author |
---|---|---|---|
links_related_list.patch | 2.05 KB | aries |
Comments
Comment #1
syscrusher CreditAttribution: syscrusher commentedThanks 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
Comment #2
syscrusher CreditAttribution: syscrusher commentedBy the way, I didn't do a full release tonight, because I'm holding to roll in a couple more bug fixes.
Comment #3
lennart CreditAttribution: lennart commentedThese problems seem to remain.