Closed (works as designed)
Project:
Insert View
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2008 at 01:21 UTC
Updated:
11 Jan 2008 at 17:21 UTC
Using [view:myview=maxitem=firstargument] works in a node but not in a block (input format/filter identical for both).
Comments
Comment #1
mlsamuelson commentedInsert View is something of a hybrid in that it does its magic using hook_nodeapi() rather than the filter system's hooks. It only uses filter hooks to add the formatting instructions to the node edit page... The reason for this is that hook_nodeapi() provides the proper context needed to build the views.
There really isn't an equivanlent to hook_nodeapi() for blocks, thus we're not able to parse them for Insert View tags at current.
If anyone has ideas, I'd love to hear 'em. For now, though, Insert View only works in nodes.
mlsamuelson
Comment #2
mlsamuelson commentedNote: I've added info on this issue to the README.txt in both the HEAD and Drupal 5 branches.