Add the following to hook_nodeapi() to paginate content only when the node is being built for normal view:
if (!($node->build_mode == NODE_BUILD_NORMAL)) {
return;
}
And integrate view and alter operations in hook_nodeapi() and play only with $node->content instead of $node->body.
This issue report suggests a single fix which has been the cause of the following issues:
#156389: Imagecache images not showing up
#183151: Conflict with Signature
#265686: Conflict between Paging and Premium modules
#285720: Not working with rep[lacement] tags
#286260: Display CCK fields on first or last page based on weight
#298192: images from image.module do not show up
#306008: Add one line for themers ... please
#313234: Paging module breaks Drupal indexing
#340270: CCK images removed from content
#340717: Paging Breaks Page Links in Book Pages
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 363396.patch | 4.5 KB | Gurpartap Singh |
| #1 | 363396.patch | 6.3 KB | Gurpartap Singh |
Comments
Comment #1
Gurpartap Singh commentedComment #2
Gurpartap Singh commentedComment #3
Gurpartap Singh commentedCommitted.
http://drupal.org/cvs?commit=166679
Comment #4
Gurpartap Singh commentedDid I say Earl pointed me to the right direction for this? Thank you Earl Miles!!!
Comment #5
Gurpartap Singh commentedAlso fixes: #180845: Uploaded attachments not showing with paged nodes.
Comment #7
ayman_ar commentedI'm sorry, but I've used this patch to fix a problem which was when the attached image (from image.module) appears at the bottom of the node instead of the top. When I used the patch, it still did not fix the problem. I downloaded the latest version of paging.module from the source but to no avail.
Are you sure it's supposed to fix this problem?
Comment #8
jenlampton@ayman_ar are you using D5 or D6? If you are still having a problem please reopen this issue.