I am working on a theme that I inherited and somehow the sidebar blocks are only coming out on the front page although I have set them up to come out in all of the pages in the block setup. The programmer has made many template pages which is where I believe he has blocked the sidebar block from coming out but I am not sure where that code is.
Where can I find the code that would disable a sidebar block from coming out.
If I switch templates I can make the blocks come out but I need to do it with the current template.

  • You can try to use print render($regions['sidebaer_fisrt']); in template to see.
    – Jimmy Ko
    Aug 3, 2016 at 21:10
  • Is this about Drupal 5, or rather any release above that? Aug 11, 2016 at 7:13

1 Answer 1


Check (page.html.twig D8) or (page.tpl.php D7) and check (themename.theme D8) and (template.tpl.php D7)

Worst case scenario, backup first, then start deleting template files one by one and flushing the cache and checking, until you see the one that affects it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.