Using Drupal 4.7 & Book Review for 4.7

Has anyone else had these problems? I’ve installed the Book Review module and though it seems to be up and running (i.e. I can add a review and it appears as new content) I have come across a few snags.

- Author Input Box: When adding the content the input box for Author(s) is only about two characters long - and it doesn’t really end, per se, as much as disappear or dissolve… Oddly, when I go back to a record to edit it, the text box is complete and is just big enough to fit the author text.

and

- Missing Teaser: On the homepage, for instance, the review comes up as new content, but the review itself doesn’t appear as a teaser, only the title.

and lastly,

- Offsite Links: The “Offsite Links” don’t seem to “Stick”. I enter them and submit and they don’t appear. I go to edit the review, and there are no URL entries there, even when before submitting I use the preview function to add more than one URL

If anyone has any ideas as to how to fix these, it would be greatly appreciated.

Cheers!

Comments

SparkyUK’s picture

So, I'm still playing with this. If anyone has any thoughts on issues 2 or 3 please feel free to join in.

As for the first issue - Author Input Box - I see that this is because there is a fieldset within a fieldset. My IE just plum don't like it. I've hacked around it and it works now.

kateynixon’s picture

Hi,

I'm still getting the problem of the disappearing Author Box - how did you solve it?

Thanks

SparkyUK’s picture

So, I think I've figrued out the third problem too which is that there seems to be an added s at line 164 of the code. $booklinks should really be $booklink, as follows:

  for ($i = 0; $i < $node->numlinks; $i++) {
    $booklink = "booklink-$i";
    if ($node->$booklinks) {

should be

  for ($i = 0; $i < $node->numlinks; $i++) {
    $booklink = "booklink-$i";
    if ($node->$booklink) {

Otherwise it won't load the information from your form into the MySQL bookreview_links table.

So, I really have no idea about the Teasers though so if anyone has any ideas there, I'd really appreciate it.

cheers!

SparkyUK’s picture

yeah! Jeremey fixed this here! Many many thanks!