D6 has a great new concept of $node->build_mode. The available build modes are NORMAL, RSS, SEARCH_INDEX, etc. Modules make their own build_mode and I have introduced this idea in print module. It would be good if one could enable/disable pager for each build mode. I would disable it for print.
Also, pagination_nodeapi() looks messy with tabs, indentation, and an $op == delete mixed in where it could never be true.
Comments
Comment #1
mundanity commentedHi there,
build_mode is a great idea, I'll definitely take a look at what you're doing and see if I can help the module deal with things like print modes.
Comment #2
mundanity commentedPagination will now disable itself if the node's build_mode is NODE_BUILD_PRINT. I'll keep an eye out on how other modules use this feature as well. Thanks for bringing it to my attention.