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?

CommentFileSizeAuthor
#2 morelikethis_taxonomy.class_.zip1.17 KBAnonymous (not verified)
#2 morelikethis.zip755 bytesAnonymous (not verified)

Comments

Anonymous’s picture

I 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 on

  if($term_count == 0)
    return FALSE;

in line 309 in morelikethis.module, without every calling the MLT taxonomy funciton.

Anonymous’s picture

StatusFileSize
new755 bytes
new1.17 KB

Okay, the MLT Taxonomy module is official broken. I hacked my way into getting it to work.

Attached are a hacked morelikethis.module:

        $more = morelikethis_find(arg(1), $service);

had to be changed to call the taxonomy class find():

        $more = MoreLikeThisTaxonomy::find(arg(1));

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.

Anonymous’s picture

Status: Active » Needs work
AntiNSA’s picture

+1

AntiNSA’s picture

Priority: Normal » Critical

Any updates on this? I love the module...