 |

carextreme
User
May 3, 2003, 4:52 PM
Post #1 of 5
(3322 views)
Shortcut
|
|
Auto Manager new search
|
Can't Post
|
|
Hey everyone...Sorry im running into a few problems...Im new to this. I was wondering how to make a new search field. Im not to good at explaining, so ill give a example. I would like to do a search like this: Make: Model: State: or Zip code if that is able to be done thanks everyone
|
|
|  |
 |

Mike R
Staff

May 3, 2003, 6:41 PM
Post #2 of 5
(3320 views)
Shortcut
|
|
Re: [carextreme] Auto Manager new search
[In reply to]
|
Can't Post
|
|
Hello, To set this up, you are going to need to edit the /templates/_search_query.html file (assuming you've already created the necessary custom listing fields). For make, model and zip code you would likely use input boxes, and here is an example of how to set that up (note: using a dropdown menu for "State" would be done almost the same way)... The "Vehicle" field is usually the field that a dealer would add the "Make" of a car to, and by default that is listing field number 1. I will use that for my example. <td><font size=2 face="arial"> Make </font></td> <td> <input name="lfield1_keyword" /> </td> </tr> Adding that code into the form in your _search_query.html template would add an input box that would allow users to be able to search the "Make" of the car. The same type of code can be used for "Model" and "Zip Code". For "State" you would probably want to create a dropdown menu... Which would be done by adding something like this to your search page: <tr> <td><font size=2 face="arial"> State </font></td> <td> <select name="lfield30_keyword"> <option value="">Any <option>California <option>Florida <option>New York <option>Etc <option>Etc <option>Etc </select> </td> </tr> That is assuming that you have created a custom "State" field using listing field number 30. I hope this helps, and if you need any addition details in how to set this up, feel free to let me know. :-) Mike Roulston interactivetools.com
|
|
|  |
 |

carextreme
User
May 3, 2003, 8:16 PM
Post #3 of 5
(3318 views)
Shortcut
|
|
Re: [Mike R] Auto Manager new search
[In reply to]
|
Can't Post
|
|
Thanks Mike for that information. I have the fields set up, my problem now is how to make the search button work. When i click search, what do i do to make it search for the make model along with the fields that came with the program. thanks Mike, I really appreciate it.
|
|
|  |
 |

carextreme
User
May 4, 2003, 3:22 PM
Post #4 of 5
(3307 views)
Shortcut
|
|
Re: [Mike R] Auto Manager new search
[In reply to]
|
Can't Post
|
|
Mike, nevermind, I found out how to do it. This product is a god
|
|
|  |
 |

Mike R
Staff

May 4, 2003, 3:59 PM
Post #5 of 5
(3304 views)
Shortcut
|
|
Re: [carextreme] Auto Manager new search
[In reply to]
|
Can't Post
|
|
Heh... I'm glad you like the product! :-) Mike Roulston interactivetools.com
|
|
|  |
|