I have "similar terms" installed on my site at http://honeypot.net/ . No matter which of the "Similar entries from ..." blocks I enable, they're always invisible. I've disabled and re-enabled the module a couple of times, but still nothing. Anything else I might try, or troubleshooting steps I could take?
Comments
Comment #1
rmiddle commentedSimilar By Terms uses the 2nd arg to grab the node number. It looks like your pathauto settings might be interfering with Similar By Terms method to of getting the node info off the page.
Thanks
Robert
Comment #2
kstrauser commentedIn similarterms_list(), changing:
if (is_null($nid) && (arg(0) == 'node' && is_numeric(arg(1)))) {
to:
if (arg(0) == 'node' && is_numeric(arg(1))) {
fixed the problem. Under what circumstances would a node id be passed into that function (that is, what am I breaking by disabling that check)?
Comment #3
rmiddle commentedBy Default nothing should be passing an nid. That is there in case someone wanted to use it.
Thanks
Robert
Comment #4
rmiddle commentedI have found the is_null is more a pain then it is worth and worse case someone overide gets overridden. I incorporated this change into 1.9. Marking this ticket fixed.
thanks
Robert
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.