This recipe will outline how simple and yet powerful template variable manipulation can be by demonstrating the steps required to hide all regions on a page. Controlling region visibility is a frequent requirement for pages such as the front page of a site or other landing pages that place an onus on capturing the attention of the viewer. By hiding regions, the designer has more real estate to make use of and there are fewer distractions for the user.
In this recipe, we will look to hide all regions for the front page of the site that is set to display a node. We will also take the opportunity to hide the page title and hide elements such as node links and submission information that are not always necessary for the front page of a site.