The block code is broken because it expects _custom_pagers_load_all_pagers to return an array keyed by pid

Also, not in the patch, why checking the node type with strpos ... isn't a == enough?

CommentFileSizeAuthor
custom_pagers-block.patch.txt652 bytesEgon Bianchet

Comments

eaton’s picture

The bug with pager indexing is in CVS now, and I'll be rolling a new version of the module as soon as a couple other issues get fixed.

I'm using strpos rather than == because a pager can be attached to *multiple* node types; thus, the node type field can actually be a comma delimited list of types. There's probably a better solution, but it's working for now. :-)

eaton’s picture

Status: Needs review » Fixed

Fixed in the current live version. Thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)