Friday 11 April 2003 7:15:02 am
To create a search which searches only in the current, or any given node you can do something like this:
<form action="/content/search/" method="get">
<input type="text" name="SearchText" id="Search" value="" />
<input class="searchbutton" name="SearchButton" type="submit" value="Search" />
<input type="hidden" name="SubTreeArray[]" value="42" /> </form> Where 42 is replaced by the ID of the node you want to search in. Note: this will search in this node and any subnode.
You can also search in several nodes by adding several hidden variables like:
<input type="hidden" name="SubTreeArray[]" value="42" /> <input type="hidden" name="SubTreeArray[]" value="43" /> --bård
Documentation: http://ez.no/doc
|