I'm looking to use this module for a site where the nodes are mostly shown in lists made with Views. Hence the two current methods of adding energy, hook_exit() and the JS block, won't work, as they both expect the current path to be of the form node/xx.

One way I've thought to do this would be by creating a custom Views field handler which doesn't output anything but just takes care of adding the energy.

However, this won't do anything for cached pages. The current JS code would need reworking so radioactivity_node_ajax_code() takes an argument of nids instead of assuming it's only handling the one.

I may be working on this in the near future; just filing now in case anyone else is interested in this.

Comments

sutharsan’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Issue triage: Closing issue, the 6.x branch is no longer maintained.

If you believe this issue is closed in error, feel free to re-open.