Thanks <br><br><div class="gmail_quote">On Mon, Apr 7, 2008 at 1:20 PM, Michael Prasuhn &lt;<a href="mailto:mike@mikeyp.net">mike@mikeyp.net</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is somewhat of an issue in Drupal, and frankly you might consider<br>
filing a bug against core for this, if one doesn&#39;t already exist. The<br>
only way to ultimately remove that form from that page is to modify<br>
search.module (*%^@&amp;^!!!!)<br>
<br>
See:<br>
<a href="http://api.drupal.org/api/function/search_view/5" target="_blank">http://api.drupal.org/api/function/search_view/5</a><br>
<a href="http://api.drupal.org/api/function/search_view" target="_blank">http://api.drupal.org/api/function/search_view</a><br>
<br>
If you look at the bottom of those functions you&#39;ll see:<br>
<br>
$output = drupal_get_form(&#39;search_form&#39;, NULL, $keys, $type);<br>
$output .= $results<br>
<br>
In other words, do not pass go, do not ask the user, do not theme this<br>
page (except using a page template(which doesn&#39;t help)), and you get<br>
the form no matter what.<br>
<br>
You can however, disable the advanced portion of the search by<br>
visiting the Access Control page under User Management in the<br>
Administer section of your site.<br>
<br>
-Mike<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
On Apr 6, 2008, at 6:46 PM, VJ wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; What&#39;s the correct way to do this? I already have a search_box in my<br>
&gt; themes and don&#39;t need the extra search form. I can live with the<br>
&gt; search form as long as the extra text doesn&#39;t appear<br>
&gt;<br>
&gt; -v<br>
&gt;<br>
</div></div><div class="Ih2E3d">&gt; --<br>
&gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<br>
</div>__________________<br>
<font color="#888888">Michael Prasuhn<br>
<a href="mailto:mike@mikeyp.net">mike@mikeyp.net</a><br>
<a href="http://mikeyp.net" target="_blank">http://mikeyp.net</a><br>
949.200.7595<br>
714.356.0168 cell<br>
949.200.7670 fax<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>