By iweb on
I have a view which is exposed as a page and a block.
The view has a header defined for the page, but the header is also being displayed when called as a block. The header includes php code.
How can I check within the php code in the views header whether it is being viewed as a page or a block?
Comments
This should help global
This should help