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.
When Search module is enabled, it always appears at the top of the left column. If I edit the Search block to appear in the header or right column (for instance), it places an additional search box in that desired place. Hence, I end up having 2 search boxes on my site instead of just one.
Comments
Comment #1
johnnybegood CreditAttribution: johnnybegood commentedDo you have the same problem with Garland?
Comment #2
lggarrison CreditAttribution: lggarrison commentedI am having this problem in garland and minnelli.
Comment #3
Dries ArnoldsGot the same problem here, but if it's a thing across multiple themes it won't be an Aberdeen bug I think.
Comment #4
joejoe04 CreditAttribution: joejoe04 commentedI'm having same problem in Garland too and I just installed Drupal 5.1 and have not made any drastic changes to the code. Did any of you ever figure out what the problem is with this?
Comment #5
joejoe04 CreditAttribution: joejoe04 commentedI just found out how to stop this from happening...go to page.tpl.php and delete the following line:
[Edited by kiamlaluno]
Comment #6
Sugar Face CreditAttribution: Sugar Face commentedTo turn off the search box in the top of the left column, I went to Administer >> Site Builder >> Themes >> and turned it off in there. This will not affect the search module that you turn on under Administer >> Site Builder >> Blocks >>
You can turn it off for all of the themes at once or one theme at a time.
To turn it off for all themes then click configure at the top of the page. On the global configuration page, under Toggle Display uncheck Search box then click Save configuration
To turn it off for a specific theme, then use the configure link next to the theme you want to edit. On the resulting page, under Toggle Display uncheck Search box then click Save configuration
Comment #7
raffuk CreditAttribution: raffuk commentedThat doesnt work for me. I've turned off in the theme settings and the box is still appearing at the top left corner.
Cache clear too.
Please help!
Thanks
Comment #8
ishmael-sanchez CreditAttribution: ishmael-sanchez commentedOk, I see the issue. I just did a vanilla install of Drupal 5 and I was able to fix this. First update the page.tpl.php around line 25 from
<?php print $search_box; ?>
toSecond, clear the cache and navigate to admin/build/themes/settings/aberdeen and uncheck "Search box" under the Toggle display settings. This should resolve your issue with the duplicate search box. I'll include this fix in a future release.
Comment #9
ishmael-sanchez CreditAttribution: ishmael-sanchez commented