Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Search box moved from theme layer to blocks in D7 but $page['search_box']
is used in page.tpl.php
.
Comments
Comment #1
dvessel CreditAttribution: dvessel commented$page['search_box'] is a region made for the search form. $search_box in Drupal 6 was specific to the search form. There is a difference and this is by design.
Comment #2
ogi CreditAttribution: ogi commentedIn my subtheme
.info
, I mistakenly removedregions[search_box]
and this led to the confusion. I'm sorry for the noise.