I'm using Drupal 4.7.2
My front page is only displaying book review titles- there's no teaser. See http://books.simra.net

Comments

spazio’s picture

Title: Front page content is missing » Same problem: Front page content is missing
Version: master » 4.7.x-1.x-dev

Just checking out if the book review module could be adapted for the online shop of a small book shop. Same problem appeared - only title is shown.

As well: Would be nice to have the option to show synopsis teaser on frontpage rather than review.

http://buch.perspektiv89.com

simra’s picture

As a follow-up to this bug: The node teaser is empty when I preview a node during editing/creation (possibly because node.module builds a teaser from $node->body if none is present). However, the teaser appears to be correct when bookreview_validate is called, but somehow gets lost before it goes into the database.

simra’s picture

Title: Same problem: Front page content is missing » Front page content is missing

Ok. I'm not a drupal expert, but here's my diagnosis of the problem. Changes made to $node by bookreview_validate are lost prior to preview and submit (this is probably a drupal bug, vs a bookreview bug). I haven't had any luck fixing the preview behavior, but we can ensure the teaser is generated by declaring bookreview_submit() and putting the teaser code in there.

SparkyUK’s picture

Just wanted to comment that I've had this issue too. I've asked about it here but no resposnses yet.

Sorry, not much to add but I wanted to be able to track this...

jeremy’s picture

Assigned: Unassigned » jeremy
Status: Active » Fixed

Moved teaser generation to hook _submit, now teasers are displayed. Fix here.

Anonymous’s picture

Status: Fixed » Closed (fixed)