Fastpage Help

Category Section - Menu's

 <<previous | next>>  
  Advanced Menu Systems
 


Click here to return



Customised Menu Lists - Search Box


You can fully customise the Search Box which will also appear automatically in the Manage Menu Section allowing you to find information easily when changing data.


Search Commands



The List of Commands for the listing can be found by scrolling through the list found by clicking on the 'Modify Search Options' option found under the 'More Advanced' options.
Under the Description you can click on any link to display a POP UP help Window

So you have the freedom to design the search box these can be designed using HTML plus using the special fields as listed above.
The search criteria is controlled when you create or manage a field.


At the top of the search area is a section that allows you to place the search box.


CommandsDescription
REQUIRED

The following code is required at the start of each Search Box
If you decide to use a table that's optional, but it is recommended.

#phpdoc
#templateid
#menuid

The searchx hidden value must also be included.



Note - Both #restemp and #cache are automatically included - this is mentioned for backwards compatibility only.
REQUIREDBottom of the Search Box - you must include the following code:-
Click here for a full example of the code for the Reat Estate Demo search box
Optional

Any of the fields starting with # can be used in the serach box HTML codes

 

Each user defined field may be flagged as a search field as either value, range or dropdown

Dropdown

Fields marked as Dropdown are entered as a search string as follows:-

<tr>
<td align="left" width="31%">Region</td>
<td align="center" colspan="2"> #real_region</td>
</tr>

Range

Fields marked as a Range are entered as a search string as follows:-
Note:- these are marked as pdscr[x] type fields

<td width="31%">Value of the Property</td>
<td width="34%" align="right"> from
<select name="pdscr[5]" class="menuclass">
<option selected class="menuclass">--All Records--</option>
<option value="0" class="menuclass">$0</option>
<option value="100000" class="menuclass">$100,000</option>
<option value="150000" class="menuclass">$150,000</option>
<option value="200000" class="menuclass">$200,000</option>
<option value="250000" class="menuclass">$250,000</option>
<option value="300000" class="menuclass">$300,000</option>
<option value="300000" class="menuclass">$300,000</option>
<option value="350000" class="menuclass">$350,000</option>
<option value="400000" class="menuclass">$400,000</option>
<option value="450000" class="menuclass">$450,000</option>
</select>
</td>
<td width="35%" align="left"> to
<select name="pdscr[6]" class="menuclass">
<option value="" selected class="menuclass">--All Records--</option>
<option value="150000" class="menuclass">$150,000</option>
<option value="200000" class="menuclass">$200,000</option>
<option value="250000" class="menuclass">$250,000</option>
<option value="300000" class="menuclass">$300,000</option>
<option value="300000" class="menuclass">$300,000</option>
<option value="350000" class="menuclass">$350,000</option>
<option value="400000" class="menuclass">$400,000</option>
<option value="450000" class="menuclass">$450,000</option>
<option value="500000" class="menuclass">$500,000</option>
<option value="999999" class="menuclass">Maximum</option>
</select>
</td>
</tr>

Value

Fields marked as a Range are entered as a search string as follows:-
Note:- these are marked as pdscr[x] type fields

<tr>
<td>Keywords</td>
<td align="center" colspan="2">
<input type="text" name="pdscr[0]" size="20" maxlength="45">
</td>
</tr>