Is it good to modify node body in 'alter' operations instead of 'load'?

noomz - March 12, 2009 - 05:01
Project:Paging
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

I face the problem that when my content is modified by other modules (styled, themed etc) but it's still the same as not modified. Because paging module kept original content and fetch it when display.

Then I've modified paging.module to alter content at the last step before displaying it, but don't sure is it the good solution. Patch is attached.

AttachmentSize
paging.module.diff1.65 KB

#1

Gurpartap Singh - May 27, 2009 - 22:24

do you see pager content in your search results?

try searching for "next", "last", etc.

 
 

Drupal is a registered trademark of Dries Buytaert.