Closed (fixed)
Project:
Book Review
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
25 Jun 2006 at 04:09 UTC
Updated:
12 Jul 2006 at 12:15 UTC
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
Comment #1
spazio commentedJust 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
Comment #2
simra commentedAs 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.
Comment #3
simra commentedOk. 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.
Comment #4
SparkyUK commentedJust 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...
Comment #5
jeremy commentedMoved teaser generation to hook _submit, now teasers are displayed. Fix here.
Comment #6
(not verified) commented