 |

martindell
New User
Sep 14, 2002, 5:36 PM
Post #1 of 4
(1405 views)
Shortcut
|
|
limit search results in Realty Manager
|
Can't Post
|
|
Is there a way of limiting search results to say, the first 100 matches? Looking at my server stats, users tend not to specify search criteria and get a dump of the whole database. I'd prefer to limit their results so that they're incentivised to try a more exact search (and use less of my server resources) Thanks Martin
|
|
|  |
 |

Damon
Staff
/ Moderator

Sep 16, 2002, 12:13 PM
Post #2 of 4
(1387 views)
Shortcut
|
|
Re: [martindell] limit search results in Realty Manager
[In reply to]
|
Can't Post
|
|
Hi Martin, To limit the search results displayed, modify the following line in the _search_query.html template: <input type="hidden" name="perpage" value="10"> Change the value number to the number of search results to be displayed per page. or If you would like to have the site visitors use more specific searches, you could create custom search forms for different areas. For example: homes, apartments, commercial etc. Each could have a customized search form would submit to the search engine that would display results just for that particular area. This way the site visitor could search the area they are interested in without having the option to search all categories for listings at one time. I hope that helps. Cheers Damon Edis interactivetools.com
|
|
|  |
 |

martindell
New User
Sep 16, 2002, 12:39 PM
Post #3 of 4
(1385 views)
Shortcut
|
|
Re: [Damon] limit search results in Realty Manager
[In reply to]
|
Can't Post
|
|
thanks but not quite. I understand the perpage setting butthis doesn't help me limit the total number of results. Is it possible to limit the max number of pages? - I just don't want someone to get more than 100 results and I don't want to limit their search options. Any ideas Martin
|
|
|  |
 |

Damon
Staff
/ Moderator

Sep 16, 2002, 1:43 PM
Post #4 of 4
(1382 views)
Shortcut
|
|
Re: [martindell] limit search results in Realty Manager
[In reply to]
|
Can't Post
|
|
Hi, Whoops, misunderstood your question the first time around. :) Unfortunately I'm not aware of any way to limit the returned search results to a specific number in total(ex. 100). Realty Manager is set up to return all the search results that match the search criteria entered by the user. Cheers Damon Edis interactivetools.com
|
|
|  |
|