Because the module bypasses the process filter hook, but does the filter directly in hook_nodeapi, the filter only works in nodes and not in blocks for example. I don't see much reason to bypass the process filter hook?

Comments

mlsamuelson’s picture

Status: Active » Closed (works as designed)

We use hook_nodeapi instead of the process filter hook so that we have the proper context within which to build the views.

For inserting views in blocks and other fields where you can use the php input format, you can do so programmatically. You might lookup the views_build_view() function in the views module (it's well-documented in that module's code and elsewhere).

mlsamuelson