I installed MLT and put the Taxonomy block in the right column for nodes.
All my nodes have several vocabs with multiple terms. Yet, the MLT block consistently shows "No related items were found." - nothing happens.
Doesnt the MLT Taxonomy block automatically look at the node's taxonomy terms? Or what is the point of this block?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | morelikethis_taxonomy.class_.zip | 1.17 KB | Anonymous (not verified) |
| #2 | morelikethis.zip | 755 bytes | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedI noticed so far that the
public function find()in morelikethis_taxonomy_class.inc is never called. Which is the function that would compare node's terms.All I can figure is that the
$more = morelikethis_find(arg(1), $delta);in morelikthie.module only calls the built-in MLT function, but is unable to call the MLT taxonomy function find() somewhere. Instead of running that find() funciton, it breaks onin line 309 in morelikethis.module, without every calling the MLT taxonomy funciton.
Comment #2
Anonymous (not verified) commentedOkay, the MLT Taxonomy module is official broken. I hacked my way into getting it to work.
Attached are a hacked morelikethis.module:
had to be changed to call the taxonomy class find():
Attached also the morelikethis_taxonomy.calss.inc - there were mistakes in the function find() that prevent correct SQL query execution.
Clearly my solution is not proper! It wil destroy other blocks, like yahoo. Maybe the module maintainer can figure out what the hell was wrong.
Comment #3
Anonymous (not verified) commentedComment #4
AntiNSA commented+1
Comment #5
AntiNSA commentedAny updates on this? I love the module...