Friday, March 8, 2013

How to Solve Notice: Undefined index: highlighted in include() in drupal 7?

To solve this error/notice need to follow below steps.

1. If you have created any block or region need to check the block/region name in .info file of the theme. For example i have created on block/region like..

<?php if ($page['sidebar_third']): ?>
    <aside id="sidebar-third" role="complementary" class="sidebar clearfix">
      <?php print render($page['sidebar_third']); ?>
    </aside>  <!-- /#sidebar-third -->
  <?php endif; ?>
2. Need to add "sidebar_third" in .info file as.
  regions[sidebar_third]  = Third Sidebar
3. Then finally dont forget to disable and enable the theme for which we have done the above functionality.


  1. The truth is you don't know what is going to happen tomorrow. Life is a crazy ride, and nothing is guaranteed. See the link below for more info.


  2. I enjoy reading your articles. You really have a wonderful blogs. Keep up the good work. Thank you also for the information!


  3. I really enjoyed reading your article. I found this as an informative and interesting post, so i think it is very useful and knowledgeable. I would like to thank you for the effort you have made in writing this article.