Just lost "read more"

allie - April 1, 2008 - 08:09
Project:Book Review
Version:5.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

If someone can tell me how to fix this, I would appreciate it--we've been using the software for a year at least and now the "read more" on the teaser has disappeared, apparently by itself...contact me for more info

#1

Splicer - April 4, 2008 - 09:18
Project:Book Review» Book Expand
Version:5.x-1.x-dev» 5.x-1.0.x-dev

It's hard to say without more information. Do your old book reviews still have "read more" on the teasers while the newest ones have stopped?

Book review has both a "review" and a "body". If only some of the teasers have no "read more" is there content in both "review" and "body" for that particular book review?

Finding a pattern to the failure may help track down its cause.

#2

Splicer - April 4, 2008 - 09:20
Project:Book Expand» Book Review
Version:5.x-1.0.x-dev» 5.x-1.x-dev

Weird. I sure did not mean to change the project on this thread. Changing back now.

#3

allie - April 8, 2008 - 16:30

It's gone, period. From all the reviews. Teaser remains on all other types of posts, pages etc.

#4

Splicer - April 8, 2008 - 16:49

OK. Hmm. Is it showing you the whole review or just the teaser?

Did you do any customizations for your theme or is your bookreview module "vanilla"? I know it sounds like a basic question and I don't mean any offense by this: has anything else changed recently? Theme changes, stylesheet edits, added modules, operating system upgrades, invasions from other planets?

Have you checked your page source? I'm curious whether the link is not being generated or if it is somehow being obscured in your theme.

#5

Splicer - April 9, 2008 - 10:52

Just one more piece of information which may or may not be helpful:

On my installation if I add a bookreview with a "review" but no "body" I get no "More" link. If there's something in the body part of the node, "More" appears.

HTH

#6

allie - April 10, 2008 - 03:48

I've been using the theme for months, and the "read more" randomly disappeared. We did nothing active to cause it. There's no reason why a module should change by itself, is there? I know there's probably a simple fix, but I need someone to point me in a direction. In the past, anomalies have appeared when the host did something like upgrading some underlying system. I would upgrade to the most current version--when I know I can use the review module with it, and i have someone to hold my hand when i upgrade so i don't screw up the universe.

Source code shows this:

< div class = "links" >
< a href= "/comment/reply/2314#comment_form" title=" Add a new comment to this page." > add new comment < / div >

So the link is just not there.

#7

allie - April 11, 2008 - 22:51

We don't even have an option for a body and never have. Nothing changed from before when we used to have "read more." Nothing new installed. The synopsis or summary options of the review have never been enabled. This is very odd. I would just like to have it back--or else upgrade to the next version which allows the review module, as long as we can keep our content..

#8

Splicer - April 15, 2008 - 21:24

Are you really using a 5.x version? I don't know if maybe something is wrong with *my* install of it, but I also have synopsis and summary disabled, and in my "submit book review" page I have:

Title
General Information (block containing multiple fields)
Detailed Information (block)
Offsite Links (block)
Review
Body
Input Format
(and so on with standard options , publishing, etc)

If I enter a "Review" and no "Body" I get no "more" link. I suspect that has something to do with the way that Drupal handles nodes. I know that's an awfully vague statement, but my understanding is fairly vague.

I also see on /admin/content/types/bookreview on my installation that "Body Field Label" is "Body".... I tried changing this to blank, which supposedly "omit(s) the body field for this content type" except that I still have nodes with bodies in them, so I still get a text entry box after the one for "Review".

The behavior remains the same on my installation: If the node has a body, there is a "read more" link. If the node has no body, there is no such link.

My best guess right now is that in my installation, using the nodetype module to convert book reviews that were written as "stories" to the "bookreview" type, forced the bookreview type to have a body, and thereafter any bookreviews that didn't have a body had no "read more" link.

I know there's no direct mapping between what happened on my site and what happened on yours, I am not pretending to have the answers. Obviously *something* changed in your installation; the point is not to deny that anything changed but to find out what it was that. Is it possible that one of your bookreviews somehow got a "body" added to it, changing the behavior the way that it got changed on my installation?

I'm going to keep digging here. Let me know if you have any more information.

#9

Splicer - April 15, 2008 - 23:11

Just to follow up, I've been completely unable to remove the body field from the bookreview type.

In addition to removing it in /admin/content/types/bookreview I've gone into the node_type table and set "had_body" to 0... "Body" still shows up in the form.

This could be related to #203931: body persists after body field removed from the content type, but since that is reported only for version 6 I'm hesitant to make any changes based on it, but it might shine some light on the issue.

 
 

Drupal is a registered trademark of Dries Buytaert.