Community

Remove Regions in Drupal (7) Based on Node

step 1. Create a tpl file

page-node-(NID).tpl.php

step 2. Remove the Region(s) which you don't want

step 3. In template.php, upload this below given code

function (theme-name)_preprocess_page(&$variables)
{
if ($variables['node']->type == "(NID)")
{
$variables['template_files'][ ] = 'page-node-(NID)';
}
}
step 4. Note : Clear Cache for Every Upload of tpl and template file.