When you want to create a region in a node.tpl template, you simply put
function xnalaraartbasic_preprocess_node(&$vars) {
$vars['your_region'] = theme('blocks', 'your_region');
}
in template.php. But how do you put a region in comment-wrapper.tpl? I couldn’t find a hook for comment.
The comment-wrapper preprocess function (template_preprocess_comment_wrapper) begins on line 1825 of comment.module. Try something like this in your theme’s template.php:
And then in your theme’s comment-wrapper.tpl.php, try:
And don’t forget to flush your theme registry!