Hi everybody!
I'm presently migrating a site from D6 to D7 (I say "migrating" because, as all its content needs to be updated and also retailored for the new D7 theme, I'm cut-'n'-pasting the content to the new install page by page, rather than attempting an upgrade).
One feature I would really regret losing is the function of the old D6 "Popular content" block, which (I believe) ran off D6's tracker. Obviously the code has changed a great deal for D7 and it seems as if Tracker is no longer implemented the same way. Nonetheless, for people visiting my site, seeing what others had looked at in recent minutes was a big attraction.
I'm trying to find a way to produce the same effect in D7. I've installed the "Recently Read" D7 module, which is useful in its own way, but only shows each individual user what they've recently read. I'm looking for a way to show *any* user what has been viewed by any/all other recent user(s), to a total of four or five recent views. Does anyone know a module that does this? Alternately, can anyone suggest a 7.x code snippet that might be pasted into a block to produce the same effect?
Thanks in advance for any help!
Best -- Diane
Comments
Radioactivity
Hi Diane,
I am using the fantastic Radioactivity module for this:
http://drupal.org/project/radioactivity
It's highly configurable and does not create that little block you want right out of the box; you need to create a view to do that. But the logic you can implement to determine what's hot is absolutely awesome.
What I did was create a view with a block display (see below, you should be able to import it in Views) that displays the title of the node and makes it a link to the node, and sorts the view based on the radioactivity index of the node (though I exclude that from display, since you will end up with values like 1.234223232223667744 that don't look good in the block!)
Thanks for that!
Hi there mjp!
Thanks kindly for that -- I'll give it a shot. (Though I have to admit that I was trying to avoid anything Views-based, as despite many years of working with Drupal, Views has always kind of given me hives. Maybe it's easier to work with in 7.x. I'll soon find out.) :)
Thanks again! D.