I am using Drupal 7
I have a content type courses. I have a page folder in template folder, with courses.tpl.php file. When i go to courses page it is showing contents from courses.tpl.php. Issues is that courses.tpl.php is not rendering blocks.
I checked region in info file. I cleared cache etc, but block is not rendering.
I am not sure, if this page is a taxonomy page. ‘footer_testimonials’ is the block i am trying to render in this page, but it is not showing up.
‘footer_testimonials’ is showing up in page.tpl.php but not in courses.tpl.php
<div id="innerCourse_area">
<div id="searchbox">
<?php print drupal_render(drupal_get_form('course_searchbox'));?>
</div>
<div id="innerTopRight_info"><?php print $page['page']['course_page_top_ad']['block_1']['#markup'];?></div>
<div class="clearfix"></div>
<h4>Popular Courses: <em>Certificate IV in Bookkeeping, Diploma of Accounting, Diploma of Business, Advanced Diploma of Accounting</em></h4>
</div><!--end inner course area-->
<div class="innerRightCol">
<h1>Courses</h1>
<div class="contentInfo">
Central College Distance Education offers a range of Government and Industry Accredited courses ready to help launch your career. Remember, Central College has been launching careers for over 30 years. You may also be interested in our specialty Central College Certificates that will help you better manage your existing business and do it in your own time at your own pace, right in the comfort of your home.
</div>
<?php
//$taxoTerm = course::get_taxonomy_term(1);
$categories = course::getAllCategories();
foreach($categories as $category):?>
<div class="course_cats">
<div class="taxo_term"><h3><?php echo $category->name;?> Courses</h3></div>
<div class="taxo_courses">
<?php //get courses by taxonomy
$courses_term = course::courses_by_term($category->tid);
$i = 0;
foreach($courses_term as $course):
$courseObj = course::getCourseByNid($course->nid);
$i++;
?>
<li><a href="<?php echo course::courseUrl_alias($course->nid);;?>"><?php echo $courseObj->title;?></a></li>
<?php endforeach;?>
</div>
</div>
<?php
if($i%2==0):
echo '<div class="clearfix"></div>';
endif;
endforeach;
?>
<div class="clearfix"></div>
</div><!--end innerRightCol-->
<div class="innerLeftCol">
<h2>Testimonials</h2>
<div>
<?php print render($page['footer_testimonials']);?>
</div>
</div><!--end innerLeftCol-->