By liegebuggy on
Hi,
as I want a search box within a site and not on every subpage created by drupal, i added to the php filtered content:
<form action="../" accept-charset="UTF-8" method="post"
<label for="search_theme_form_keys">Suche</label>
<input type="text" maxlength="128" name="search_theme_form_keys" id="edit-search_theme_form_keys" size="25" value="" title="Enter the terms you wish to search for." class="form-text" /> <br />
<input type="submit" name="op" value="Search" />
<input type="hidden" name="form_id" id="edit-search-theme-form" value="search_theme_form" />
<input type="hidden" name="form_token" id="a-unique-id" value="<?php print drupal_get_token('search_theme_form'); ?>" />
</form>
The form is called from the relative url ./node/10, so the action="../" looks like it was correct.
But every time i try the search, it leads me to the <front> page and does not show the search results :/
What do I need to change?
Thanks
Edited by: VeryMisunderstood; added code tags to avoid stripping.