I am attempting to use the "path" variable to restrict the serch results to a specific directory on the website. However this does not seem to restrict the results.
This is the code in my webpages:
<form action='http://www.curzonholdings.co.uk/phpdig/search.php' method='get'>
<tr>
<td valign="top"><img src="images/vertical_divider_main.gif" alt="Vertical Divider" name="vertical_divider" width="16" height="35" border="0" id="vertical_divider" title="Vertical Divider" /></td>
<td valign="bottom">
<input type='hidden' name='refine' value='2'/> <input type='hidden' name='site' value='1'/>
<input type='hidden' name='result_page' value='search.php'/>
<input name='query_string' type="text" id="query_string" style="font-family:Verdana; font-size:11px; height:18px; width:120px; margin-right: 5px" onfocus="if(this.value==this.defaultValue)this.value=''" value="Search" />
</td>
<td valign="bottom">
<select name="path" id="path">
<option selected='selected' value=''>All of Curzon </option>
<option value='curzon_interiors/%'>Curzon Interiors </option>
<option value='tcl_granby/%'>TCL Granby </option>
<option value='task_systems/%'>Task Systems</option>
<option value='strategic_mm/%'>Strategic MM</option>
</select>
</td>
<td valign="bottom">
<input type='image' name='search' value='Go' src="images/buttons/go.gif" onmouseover="MM_swapImage('search','','images/buttons/go_over.gif',1)" onmouseout="MM_swapImgRestore()" alt="Search button" width="31" height="19" border="0" id="search" style="margin-left: 5px" title="Search button"/>
</td>
</tr>
</form>
The site is currently up and running but it won't be long before my client spots this failing:
www.curzoninteriors.co.uk
Hope you can help.