Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: search form functionality

  1. #1
    Join Date
    Dec 2002
    Posts
    1,883

    Default

    what will it take to get a search form like this?
    http://www.century21.com/buy/ (minus the search 'radius' feature, which shouldn't be that difficult if required (which it isnt' for me))

    I'm pretty good at php so if this is possible and someone could just slightly point me in the right direction, I can probably figure it out for myself.

  2. #2
    Join Date
    Dec 2002
    Posts
    1,883

    Default

    OR can already do everything that page can. all it takes is getting your hands dirty. just play around with the template editor and read the forums.

  3. #3
    Join Date
    Jul 2003
    Posts
    15

    Default

    that includes the bedroom and bathroom parts of it? I can't find anywhere on the forums where it talks about a search form like that.
    James Paden ~ Xemion Web Design
    James@Xemion.com
    http://www.xemion.com

  4. #4
    Join Date
    Jul 2003
    Posts
    15

    Default

    you're right...I figured it out. I had to hardcode it, not sure how to do it using the template editor...least not without a bunch of work and creating functions and stuff. this works just fine:

    <select name="baths-min">
    <option value="0" selected>Any Number of Bathrooms</option>
    <option value="1">at least 1 bathroom</option>
    <option value="2">at least 2 bathrooms</option>
    <option value="3">at least 3 bathrooms</option>
    <option value="4">4 or more bathrooms</option>
    </select>
    James Paden ~ Xemion Web Design
    James@Xemion.com
    http://www.xemion.com

  5. #5
    Join Date
    Apr 2003
    Location
    Charleville / Australia
    Posts
    1,421

    Default

    If you want to search for a listing with bathrooms
    in the listings for editor tick to activate the search option on bathrooms then set it up as you have it above useing the singla options as a type. This will create a search box with your bathrooms listed. At lease for all amounts of bathrooms. If you dont have a listing with 3 or 5 bathrooms you will get an option box to reflect that and show 1,2,4,6,7.

  6. #6
    Join Date
    Jul 2003
    Posts
    15

    Default

    yes, I saw that but I wanted something that operated on a "3 or more" basis, not just "3 bathrooms". and I wanted every option included, even if I didn't have a listing for 3 or 5 bathrooms. It just looks odd and unprossional in my opinion to have 1,2,4,6,7.
    James Paden ~ Xemion Web Design
    James@Xemion.com
    http://www.xemion.com

  7. #7
    Join Date
    Apr 2003
    Location
    Charleville / Australia
    Posts
    1,421

    Default

    You are admin its in your control
    Add more listings people really arent interested in searching for something thats not there so why give an option that can in effect return nothing?

  8. #8
    Join Date
    Jul 2003
    Posts
    15

    Default

    yah, I considered that. what is the point in offering to look for something that's not even there?

    I decided the answer is: it looks better and it makes more sense for the user.

    I'd rather them see "no listings found" than wonder why I skipped an number and think that I can't count. guess that's my bottom line, but I definitely could understand other developers taking the other approach.
    James Paden ~ Xemion Web Design
    James@Xemion.com
    http://www.xemion.com

  9. #9
    Join Date
    Apr 2003
    Location
    Charleville / Australia
    Posts
    1,421

    Default

    As i said it is simply a matter of ensuring that you have a listing with the requirements. So you need a listing with 3 bedrooms added to the selection to fill the form as you want and its status becomes unavailable/sold or simlar so that allthough it is there it is not available to buyers anyway.

  10. #10
    Join Date
    Jul 2003
    Posts
    30

    Default

    It would be really nice and efficient to have a (text) search field for city along with a drop-down list of states/province (that is not a query result from the database either).

    I'm not a programmer, but when I look at the search features, I *think* it makes queries right when a viewer hit Search Listings. Per say, if it's a little big site, and it has 600+ cities and an average of 250+ listings in each city, imagine how many more seconds it'll add to the query. Beside, if somebody who lives in, say San Francisco area, and want to look for house just in that particular city have to *query* or browse all the cities to look for just one city?

    I would suggest something like www.century21.com/buy/ www.realtor.com simple and advanced search, where the system doesn't make *any* query until the viewer hits submit.

    Just a thought. Keep up the good work guys.
    -A

Similar Threads

  1. Replies: 0
    Last Post: 11-04-2003, 08:19 AM
  2. Multiple Search Form Pages
    By jamesmm in forum HELP (CLOSED)
    Replies: 1
    Last Post: 10-26-2003, 10:41 PM
  3. IMAP of States as search form
    By Anonymous in forum Feature Request (CLOSED)
    Replies: 2
    Last Post: 10-24-2003, 02:21 AM
  4. Replies: 8
    Last Post: 08-18-2003, 05:18 AM
  5. Can't display search fields in Listings Form Editor
    By drpatt in forum HELP (CLOSED)
    Replies: 6
    Last Post: 07-04-2003, 08:32 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts