How to add a region in node.tpl.php programmatically with Drupal - 6

  1. Define a region in your theme's .info file.
    regions[your_block_region] = Your Block Region

  2. Add Below Code in your theme's template.php file.
    function yourthemename_preprocess_node(&$vars, $hook) {
      $vars['your_block_region'] = theme('blocks', 'your_block_region');
    }

  3. Clear Site's Cache.

 

 Author: Ujval Shah, Project Manager, Gloscon Solutions Pvt. Ltd.

 

Madmayor

CityPlots
RenovationPlaza
BootupFactory
Surgeboom
CheerFools
OpenKick
GujaratCricket
Kinchuk
ChorPolish
Kosansh
Reputa
SharesVault
BeautifulGujarat
PocketBuilders
JaldiBol
GujaratHosting
GujaratStartups
BodyLia
GhumoPhiro
Kukarma
TalentLaunchpad
SabziBazar
WorldImigration
Just2Marry
MobileApplicationTesters
Galaminds
KhetiVikas
OpenMunicipalities