Postponed (maintainer needs more info)
Project:
Similar Nodes
Version:
5.x-1.1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2008 at 15:33 UTC
Updated:
22 Aug 2008 at 05:54 UTC
Jump to comment: Most recent file
Comments
Comment #1
deadlyminds commentedSorry for the repost...I didn't get this part as well - "give it a shot! go to yourview/{NID} for a list of related nodes"
Does this mean I can't put the view in a block? I'm kinda lost with this one..
Comment #2
JacobSingh commentedHi,
Similar nodes can only work with an argument passed in (a node id). This means that if you add it as a block which you show on node pages, you will need a little bit of PHP code in the views argument handler. I believe the view I gave that comes with the module does this. Did it work properly as a standalone view like in the readme?
Comment #3
gregglesI couldn't get it to work neither in the block nor as a standalone page.
The standalone page view kept saying "You must provide a node id as an argument for this view to do anything" even after I added a node ID to the url (see screenshot)
Comment #4
JacobSingh commentedHi greggles,
Let me see if I can help out... first, make sure you've got the similarnodes table in your database. This is an index of all nodes and their terms and the weight of that term.
If it has no data in it, go to the settings page and rebuild it. If it still has no data in it, file a bug.
Assuming it has data in it, try getting the query out of the view using devel or some views_build_view('queries') and paste it in here so I can see what is going on.
The module works by hacking around views to add aggregate functions like SUM on the similarnodes_weight table.