Closed (works as designed)
Project:
Insert View
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2007 at 22:46 UTC
Updated:
12 Feb 2008 at 16:15 UTC
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
Comment #1
mlsamuelson commentedWe 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