Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Listings Manager (Realty Manager & Auto Manager):
Simple and advanced search

 

 


marcin
User

Mar 25, 2003, 2:35 PM

Post #1 of 3 (1310 views)
Shortcut
Simple and advanced search Can't Post

I was just wondering if there is a way creating a two searches. The simple one and more complex. Did somebody did that ?


Benjamin
Staff


Mar 25, 2003, 7:47 PM

Post #2 of 3 (1305 views)
Shortcut
Re: [marcin] Simple and advanced search [In reply to] Can't Post

Hi Marcin,

Absolutely! Actually, you can create as many searches as you want. Here's kinda how it works:

When you link to your search.cgi script in your browser, that search form will always be generated from your _search_query.html template stored in your /templates directory. That's the search form that is linked to (by default) throughout your templates.

However, there's no reason why you couldn't create as many search forms as you want - each with differing levels of complexity, and even some that would by default only search certain subcriteria.

To do this, copy and paste the search form code in your _search_query.html template into a new file. In this new file, you'll need to make a few changes:

1. update the action attribute of the form tag: make sure it's pointing to the search.cgi script.
2. update any of the (previously) dynamically generated aspects of the form - like the agent name dropdown.

Now, inside this new search page, you can remove or add any search fields you wish.

Hope the above makes sense! If you need more pointers on how to do it in your case, just post me back :-)
Ben
interactivetools.com


marcin
User

Mar 26, 2003, 6:22 AM

Post #3 of 3 (1289 views)
Shortcut
Re: [Benjamin] Simple and advanced search [In reply to] Can't Post

Thanks a lot :)

I will try that.

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4