I have aked this in the support forums to no avail, but maybe I can get help here. Maybe, after all, it is a bug in the code.

1. Teasers
I do not see any teasers for my bookreviews, only the title. In the PHPmyAdmin, there is no body or teaser for these entires in the node tables.

2. Related Links
The descriptions for the related links disappear such that the link becomes the url.

Please let me know any information you might have on this.

many thanks

Comments

coreyp_1’s picture

Status: Active » Needs review

Sorry, but I don't have time to figure out how to create a patch file today. The related link issues can be resolved by changing the for statement at line 129 to this:

  for ($i = 0; $i < $node->numlinks; $i++) {
    $booklink = "booklink-$i";
    $linkdescription = "linkdescription-$i";
    if ($node->$booklink) {
      db_query("INSERT INTO {bookreview_links} (nid, booklink, description, weight) VALUES (%d, '%s', '%s', %d)", $node->nid, $node->$booklink, $node->$linkdescription, $i);
    }
  }

This sets the variable $linkdescription, which was missing, and changes $node->booklinks to $node->booklink.

jeremy’s picture

Assigned: Unassigned » jeremy
Status: Needs review » Fixed

Fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)