Active
Project:
Content Templates (Contemplate)
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2007 at 00:24 UTC
Updated:
1 Mar 2007 at 00:24 UTC
With code I write in Contemplate, how can I know which View or Block the node is currently being displayed within?
[I can't use arg(0)/arg(1) as those apply to the whole page and do not have different values for the different Views/Blocks on the page.]
Why do I want this? Because I need to have (essentially) different types of teasers (of the same nodes) at different places on the screen (i.e., in different Blocks created by different Views).
Thanks for your help!