ADDING A CCK FIELD
THE VIEWS USER INTERFACE
THE VIEWS USER INTERFACE
All drupal try to post daily dose of drupal problems and their soclutions. During the drupal based website development we face many problems and google them to get solutions. The same way we post post our problem with solutions.
regions[region_name] = Region Name
2.Add funciton in template.php
function THEME_NAME_preprocess_node(&$variables, $hook) {
$variables['region_name'] = theme('blocks', 'region_name');
}3.Add code in node.tpl.php
<?php if ($region_name) { ?><div class="region_name"><?php print $region_name?></div><?php }; ?>