So I have three different blocks inside my right sidebar region. What I would like to do is change which one gets displayed based on the content type. I’m new to Drupal, and from what I can see in the available variables list, there’s no way for me to see what content type I’m in when customizing block.tpl.php. Is it possible?
Share
I’d recommend using the Context module to define different “contexts” for the different content types. Each context can then be configured to display different blocks.
Another alternative is the Panels module, but Panels does a lot more and consequently has a more complex interface, so it can be difficult for beginners to master.