From tamas@amon.hu Sun May 21 10:31:22 2006 From: =?utf-8?q?=C3=81mon_Tam=C3=A1s?= To: development@drupal.org Subject: [development] autocomplete_path not working in search box Date: Sun, 21 May 2006 12:31:18 +0200 Message-ID: <44704176.4050505@amon.hu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4318010053918244827==" --===============4318010053918244827== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit hi, I try to put some autocomplete function for the search box. I putted the '#autocomplete_path' => 'search/autocomplete', line to the search_box function, but it not put the this line to the page. I use the same thing on the search page and it is working. What is the solution? -- Ámon Tamás http://amon.hu --===============4318010053918244827==-- From tamas@amon.hu Sun May 21 11:17:04 2006 From: =?utf-8?q?=C3=81mon_Tam=C3=A1s?= To: development@drupal.org Subject: Re: [development] autocomplete_path not working in search box Date: Sun, 21 May 2006 13:17:00 +0200 Message-ID: <44704C2C.7030201@amon.hu> In-Reply-To: <44704176.4050505@amon.hu> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1229843353943124167==" --===============1229843353943124167== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Ámon Tamás írta: > hi, > > I try to put some autocomplete function for the search box. I putted the > '#autocomplete_path' => 'search/autocomplete', > line to the search_box function, but it not put the this line > > to the page. > > I use the same thing on the search page and it is working. What is the > solution? > > Ok I find it. In the phptemplate engine the search box is calles later then drupal_get_html_head(). If I put the search_box() function it is working before drupal_get_html_head() -- Ámon Tamás http://amon.hu --===============1229843353943124167==--