It's been suggested that the 'Related Terms' block, which is currently configured to display only on taxonomy pages, could be made available on Node pages too.

This seems to be a good idea, I've been working on a patch, I'll submit it shortly.

Comments

aparimana’s picture

Status: Needs work » Needs review
StatusFileSize
new9.92 KB

Patch attached which adds the functionality to display 'Related Content' block on node pages.

A few relevant features:

  • The block will only display if the node has been tagged with terms from the vocabulary used by NCO
  • There is now an admin interface for the display module (as opposed to the analysis module which always had an admin interface). This allows the user to configure how to merge the node's tags with the 'Related' tags
aparimana’s picture

It dawns on me that it would be best for backwards-compatibility if display-block-on-node-pages had to be enabled explicitly, otherwise there could be unexpected behaviour when the new version is installed.

I'll put an option (defaulting to 'off') in the admin panel... watch this space!

russellb’s picture

Status: Needs review » Fixed

Thanks AP, I've committed your patch:
http://drupal.org/commitlog/commit/12120/e632054bd812ac754e6944a1ccff46a...

Actually I don't mind having your new functionality defaulting to 'on' here, people have control via block visibility.

aparimana’s picture

Category: feature » bug
Status: Fixed » Active

Have noticed a bug in previous patch, where there is no language associated with the field value holding the list of the node's terms .... patch coming shortly....

aparimana’s picture

Status: Active » Needs review
StatusFileSize
new1.58 KB

patch for above...

russellb’s picture

Category: bug » feature
Status: Needs review » Fixed
russellb’s picture

Status: Fixed » Closed (fixed)