![]() |
|
|||||||
| Register | Projects | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| v3.0 Modifications Post any modifications you have done to 68 Classifieds Source. Please note these are not supported by 68 Classifieds, and may make future updates more difficult. |
|
|
Thread Tools | Display Modes |
|
#31
|
||||
|
||||
|
By items do you mean categories, right?
Dropdown: Category: Homes Cars Boats States: NJ NY TX TN Also which version are you using, 3.1.5 Developer?
__________________
Regards, John mods.auscity.com v3.1.7 Developer �By perseverance, study, and eternal desire, any man can become great.� George S. Patton |
|
#32
|
|||
|
|||
|
sorry, yes you are right.. so a dropdown list for each to search by
![]() |
|
#33
|
||||
|
||||
|
Ok, give me about 5 more min
__________________
Regards, John mods.auscity.com v3.1.7 Developer �By perseverance, study, and eternal desire, any man can become great.� George S. Patton |
|
#34
|
||||
|
||||
|
Ok, on the template you want these to be display place this:
HTML Code:
<form name="search" id="search" method="get" action="searchresults.php"> <table> <tr> <td> <select name="type" id="type"> <option value=''>{$smarty.const.LANG_SEARCH_ALLCAT}</option> {search_category} </select> </td> </tr> <tr> <td> <select name="state" id="state"> <option value=''>{$smarty.const.LANG_SEARCH_ALLCAT}</option> {search_states} </select> </td> </tr> <tr> <td><input type="submit" name="Submit" value="{$smarty.const.LANG_SEARCH_BUTTON}" /></td> </tr> </table> </form> create this file and name it: function.search_category.php PHP Code:
PHP Code:
__________________
Regards, John mods.auscity.com v3.1.7 Developer �By perseverance, study, and eternal desire, any man can become great.� George S. Patton |
|
#35
|
|||
|
|||
|
Thanks for your help John i'll give it a go
![]() |
|
#36
|
|||
|
|||
|
The search works well; however, I'd like to take it a step further and add some sort of acknowledgement... currently, once the search button is pressed, the text search field goes blank and there is nothing saying what was searched and # of results.
I'd ideally like to do two things: 1. Have the "search text" field remain entact even after someone presses the search button, instead of being erased. Often users will want to slightly alter or add to their search, or search the same text in different categories. 2. Some sort of line acknowledging the text that was searched and the results found, like this example: 128 items found searching "antique furniture" 3. How do I align the search at the top & right of the layout page Is this doable? Last edited by spaceboy : 08-27-2006 at 10:11 PM. |
|
#37
|
||||
|
||||
|
The link seems to be broken... or has this already been built into the latest version?
__________________
B.Gordon v.3.1.5 Developer www.canadaboatshopper.com Canada Boat Shopper - Boats For Sale By Owner In And Around Canada |
|
#38
|
||||
|
||||
|
I put up a new link in another post in this thread, or are you talking about the deal that I helped spaceboy with? If so all the code needed is also posted in this thread.
Here is a link to the post in this thread with the zip: http://www.68classifieds.com/forums/...6&postcount=20 Here is the link to the post with the code in this thread: http://www.68classifieds.com/forums/...8&postcount=34
__________________
Regards, John mods.auscity.com v3.1.7 Developer �By perseverance, study, and eternal desire, any man can become great.� George S. Patton |
|
#39
|
|||
|
|||
|
I wonder if you can help me out. I'm try to alter the code to include the total of each item at the end (i.e. dog (4), cat (9), rabbit (3) etc..). Would be very handy for those wanting to see if items were actually available in that section before selecting.
I need help on this. So far i've got: PHP Code:
|
|
#40
|
||||
|
||||
|
Hi,
hope you cn help me. How can I put the extra_search_fields into your little search module on the home.tpl ? Thank you |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Quick SEO optimization for showlistings | civ | v3.1 Modifications | 2 | 01-03-2007 09:26 AM |
| Search in Navigation bar | marketingsolutions | v3.1 Questions & Support | 0 | 11-02-2006 12:10 PM |
| Aligning the "zip code," etc. search fields | spaceboy | v3.1 Modifications | 5 | 09-09-2006 02:27 PM |
| Adding Search to | sleepy | HTML, CSS, and Design Help | 8 | 04-09-2006 12:12 PM |
| Advanced Search Template | sporthorsebreeder | HTML, CSS, and Design Help | 6 | 04-05-2006 04:25 PM |