I just downloaded the cvs version of drupal in preparation of 4.7 and i noticed that the search field in the head does not work. Also the text in the search button is gone.

CommentFileSizeAuthor
#4 search_12.patch1.8 KBMad Maks

Comments

Mad Maks’s picture

adding name="op" in the form submit line makes a different. If you are on the search page, the search field in the head of the page works but if you are on an other page it still does not work. any suggestion?

Mad Maks’s picture

nobody? :-(

Mad Maks’s picture

i found out that the next php variable in the code doesn't work anymore:

php print $search_url;
php print $search_button_text

If you replace the code with a hardcoded string ("search") everything is allright.

In a theme for 4.7 the total search code ( i can not post the original code here because it is suspicious code) be replaced by one line : print $search_box but i can not get it in the same layout as the original theme.

Mad Maks’s picture

Status: Active » Needs review
StatusFileSize
new1.8 KB

the lay-out problem is solved

Mad Maks’s picture

Status: Needs review » Fixed

committed

Anonymous’s picture

Status: Fixed » Closed (fixed)