<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Have you tried hook_form_alter on the #action?</div><div><a href="http://api.drupal.org/api/function/hook_form_alter/6">http://api.drupal.org/api/function/hook_form_alter/6</a></div><div>K</div><br><div><div>On Jun 11, 2010, at 08:13 AM, liza chua wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="font-family: tahoma,sans-serif;">This can be a similar problem with <a href="http://drupal.org/node/740976#comment-3077806">http://drupal.org/node/740976#comment-3077806</a> but our team would actually want to have the form action in search box to be set always on root (/) like displayed below:</span><br style="font-family: tahoma,sans-serif;">
<br style="font-family: tahoma,sans-serif;"><b><span style="font-family: tahoma,sans-serif;"><form action="/" accept-charset="UTF-8" method="post" id="search-theme-form"></span></b><br style="font-family: tahoma,sans-serif;">
<br style="font-family: tahoma,sans-serif;"><span style="font-family: tahoma,sans-serif;">To give you an overview of the scenario, the search will perform from the page where you are currently at. For ex.</span><br style="font-family: tahoma,sans-serif;">
<br style="font-family: tahoma,sans-serif;"><span style="font-family: tahoma,sans-serif;">Page 1 Scenario: <a href="http://www.mysite.com/content/page1">http://www.mysite.com/content/page1</a>, the form action will be </span><br style="font-family: tahoma,sans-serif;">
<br style="font-family: tahoma,sans-serif;"><b><span style="font-family: tahoma,sans-serif;"><form action="/content/page1" accept-charset="UTF-8" method="post" id="search-theme-form"></span></b><br style="font-family: tahoma,sans-serif;">
<br style="font-family: tahoma,sans-serif;"><span style="font-family: tahoma,sans-serif;">Page 2 Scenario: <a href="http://www.mysite.com/content/page2">http://www.mysite.com/content/page2</a>, the form action will be </span><br style="font-family: tahoma,sans-serif;">
<br style="font-family: tahoma,sans-serif;"><b><span style="font-family: tahoma,sans-serif;"><form action="/content/page2" accept-charset="UTF-8" method="post" id="search-theme-form"></span></b><br style="font-family: tahoma,sans-serif;">
<br style="font-family: tahoma,sans-serif;"><span style="font-family: tahoma,sans-serif;">this will all be the same in all page within our site. Can anyone lend a hand? Thank you very much, as always!</span><br style="font-family: tahoma,sans-serif;">
<br style="font-family: tahoma,sans-serif;"><span style="font-family: tahoma,sans-serif;">Liza</span><br style="font-family: tahoma,sans-serif;"><br style="font-family: tahoma,sans-serif;">
_______________________________________________<br>consulting mailing list<br><a href="mailto:consulting@drupal.org">consulting@drupal.org</a><br>http://lists.drupal.org/mailman/listinfo/consulting<br></blockquote></div><br></body></html>