I've set permissions for access to book reviews. But *nothing* shows when the title link is clicked. The synopsis or review will show up on the frontpage, but that is the only place.

CommentFileSizeAuthor
#9 bookreview.module.patch520 bytespaulgear
#7 bookreview_0.pgsql1001 bytespaulgear

Comments

jeremy’s picture

Please be sure that you have the latest 4.4 version of the module. (ie, if you downloaded the module a while ago, grab the latest). I fixed a similar issue perhaps 1-2 months ago.

I just tested on my dev server with a clean 4.4.2 installation and everything works.

What do you mean that "nothing" shows up? You get a blank screen? Or an error? Or...? Also, what theme are you using?

terre’s picture

I downloaded it just the other day. When you click on the title link (from the frontpage) the resulting page shows everything normal, except that none of the info for the book review module is included (title of node shows.)

It shows the node title and who submitted by, then goes straight to the comments:

This is title
Submitted by horg on Sun, 10/10/2004 - 12:54am.
» login or register to post comments
Comment viewing options

terre’s picture

using xtemplate, default drupal theme.

terre’s picture

I looked at the source html on the book review node page and where it should output the content it does not:

<div class="content"></div>

nothing between the divs for the content

jeremy’s picture

What filters do you have configured? Can you try disabling all filters and see if that helps?

Also, does this affect all users, including uid 1?

terre’s picture

No filters. UID 1 (me) can not see content nor can other accounts.

I did download the module again but still the same thing occurs - no content between the div tags at all.

paulgear’s picture

StatusFileSize
new1001 bytes

I'm seeing exactly the same behaviour - i get absolutely nothing inside the content

. Looking at the code, from what i can tell, theme_bookreview_content() is never getting called. I'm only a drupal beginner, so i haven't got a clue how to debug it any further than that. I'm using PostgreSQL, FWIW (see http://drupal.org/node/14955).
paulgear’s picture

Whoops! That bookreview.pgsql wasn't supposed to be here - please ignore.

paulgear’s picture

StatusFileSize
new520 bytes

Yahaha! Got it! I'm using bookreview under drupal 4.5.1, and the node display hook changed (see http://drupal.org/node/7176) to require nodes to be passed by address. The attached patch should sort things out (the header part is just to make syntax highlighting work in vim without any extra effort).

paulgear’s picture

jeremy’s picture

You are using a _very_ outdated copy of this module. Please download the latest version and try again.

(At this time, the second line of the latest version reads as follows:
// $Id: bookreview.module,v 1.11 2004/12/28 23:17:52 goba Exp $
)

Note that the latest version is v 1.11, and your patch is against v 1.2.

jeremy’s picture

Assigned: Unassigned » jeremy

The 4.5 version of the module has been modified to properly display book reviews. (Filtering was fixed)

Anonymous’s picture