I build a BLOCK
that sits on a right side of the website and is available for whole site.
Also I got a many CONTENT_TYPE NODES like (pages, news,gallery, files)
.
How can I modify _preprocess_xxxxx
and which one, so I can let my BLOCK
know which CONTENT_TYPE
is currently displaying.
so then my BLOCK
displays var $section = top 10 download
for CONTENT_TYPE==files
;
and for CONTENT_TYPE==news
, I will see latest news
in my block var $section.
etc, etc...