Support Forums

Old 10-09-2006, 06:47 PM   #1
Junior Member
 
Join Date: Oct 2006
Posts: 12
Rep Power: 12
pedromtze is on a distinguished road
Default Add to search the "extra fields"

I just installed the script, did some redesign (feel free to look www.vendeyrenta.com/todo).

I added some extrafields for example if the house or property is for sale or lease or rent. I would like to add those fields in the search template.

Sorry for my english im from mexico.

Thanks

Pedro
pedromtze is offline   Reply With Quote
Old 10-09-2006, 07:43 PM   #2
Moderator
 
juven14's Avatar
 
Join Date: Mar 2006
Location: Texas
Posts: 2,215
Rep Power: 61
juven14 is a jewel in the rough
Default

No habla espanol (I don't think I can spell it either, lol)

Paste the extra fields here (screen shot or text as I have done), from a listing you want to include in your search, this way I can identify what is an extra field in your site.

Are these the extra fields?:

Propiedad en: Venta

Estado: San Luis Potosi
Ciudad: San Luis Potosi
Direcci�n: Flourita
Metros Cuadrados: 141
__________________
John Snyder
PHP Developer
juven14 is offline   Reply With Quote
Old 10-09-2006, 08:11 PM   #3
Junior Member
 
Join Date: Oct 2006
Posts: 12
Rep Power: 12
pedromtze is on a distinguished road
Default Here are my extra fields

Propiedad en: Venta

Estado: San Luis Potosi
Ciudad: San Luis Potosi
Direcci�n: Flourita
Metros Cuadrados: 141


This is the form that I have in the index page.

Thanks for the help, and actually you did spell it right!



<table cellpadding="0" cellspacing="0" width="100%" border="0">
<form name="search" id="search" method="get" action="searchresults.php">
<col style="width:33%; padding-right:7px">
<col style="width:33%">
<col style="width:33%; padding-left:7px">
<tr><td colspan="3" style="line-height:5px"> </td></tr>
<tr>
<td>
<select name="Propiedad+en" style='width:100%' size='6'>
<option value="Venta">comprar</option>
<option value="Renta">rentar</option>
<option value="Otro">otro</option>
</select>
</td>
<td>
<select name="type" style='width:100%' size='6'>
<option value="40">bodega</option>
<option value="39">casa</option>
<option value="41">cuarto</option>
<option value="42">departamento</option>
<option value="43">locales</option>
<option value="44">oficinas</option>
<option value="48">otros</option>
<option value="45">rancho</option>
<option value="46">terreno</option>
<option value="47">vacaciones</option>
</select>
</td>
<td>
<select name="Estado" style='width:100%' size='6'>
<option value="San+Luis+Potosi">san luis potosi</option>
<option value="Aguascalientes">aguascalientes</option>
........
<option value="Zacatecas">zacatecas</option>
</select>
</td>
</tr>
<tr><td colspan="3" style="line-height:5px"> </td></tr>
<tr>

<td colspan="2">
<img src='images/information.gif' width='24' height='24' border='0' alt=' ' style='vertical-align:text-top' title="poner anuncio gratis"> 
<b><a class='std13' href="userlogin.php">poner anuncio gratis</a></b> </td>
<td>
<input type="submit" name="Submit" style="width:100%" value="Buscar" />
</td>
</tr>
<tr><td colspan="3"> </td></tr>
</form>
Attached Images
File Type: jpg extra.jpg (42.4 KB, 19 views)
File Type: jpg extra2.jpg (8.3 KB, 11 views)
pedromtze is offline   Reply With Quote
Old 10-09-2006, 08:16 PM   #4
Junior Member
 
Join Date: Oct 2006
Posts: 12
Rep Power: 12
pedromtze is on a distinguished road
Default I forgot

I forgot to tell you I also want to have those extra fields appear when Im viewing a list of the items, for example in the featured ones, I want to tell the client if the listing is for lease rent, or sale.

Thanks.

By the way please let me know when you are going to have the bstore mod ready, cause I need it.

Thanks

pedro
pedromtze is offline   Reply With Quote
Old 10-09-2006, 08:29 PM   #5
Moderator
 
juven14's Avatar
 
Join Date: Mar 2006
Location: Texas
Posts: 2,215
Rep Power: 61
juven14 is a jewel in the rough
Default

Yes, I packed it up yesterday for a final test. It will be ready very soon. Maybe in a day or 2.

Including it in the results is a bit more challenging.

What I usually do here is just add new fields to the product table and forget about extra fields. This could all be done with a module, if that is something you are interested in. Just remember these kinds of fields are best if they apply to all listings since they all share the same template.
__________________
John Snyder
PHP Developer

Last edited by juven14; 10-09-2006 at 08:37 PM.
juven14 is offline   Reply With Quote
Old 10-09-2006, 08:45 PM   #6
Junior Member
 
Join Date: Oct 2006
Posts: 12
Rep Power: 12
pedromtze is on a distinguished road
Default ok

what is the module name, or where can i get it.
pedromtze is offline   Reply With Quote
Old 10-09-2006, 08:51 PM   #7
Moderator
 
juven14's Avatar
 
Join Date: Mar 2006
Location: Texas
Posts: 2,215
Rep Power: 61
juven14 is a jewel in the rough
Default

I'd have to make it.

What version do you have developer or designer?
__________________
John Snyder
PHP Developer
juven14 is offline   Reply With Quote
Old 10-10-2006, 10:45 AM   #8
Junior Member
 
Join Date: Oct 2006
Posts: 12
Rep Power: 12
pedromtze is on a distinguished road
Default I have the developer one

I have a question, is there a way for these new fields to appear in the search results of showlisting template?

Because I really need this.

thanks
pedromtze is offline   Reply With Quote
Old 10-10-2006, 11:30 AM   #9
Moderator
 
juven14's Avatar
 
Join Date: Mar 2006
Location: Texas
Posts: 2,215
Rep Power: 61
juven14 is a jewel in the rough
Default

Yes, our price descriptor module adds to fields to the search results, pm me if you want me to make a custom module to make:
Fields will appear in search.php and effect the search results + fields will be added to the search/toplistings/category results (showlistings.tpl.php).
As for the extra fields you created, are they universal to all listings? These should be the only fields in the results as it gets kind of nasty displaying them by category if you have a lot of categories with different fields.
__________________
John Snyder
PHP Developer
juven14 is offline   Reply With Quote
Old 10-10-2006, 11:46 AM   #10
Junior Member
 
Join Date: Oct 2006
Posts: 12
Rep Power: 12
pedromtze is on a distinguished road
Default

Yes they are universal for all categories.

Is there a limit for the fields created with your module?

And yes I would like for these fields to appear in the search.php and also in the search result.

For example I want to add another field for the property city, because many times the house is not where the realty agency is located. So people can search for the location of the house and not the location of the realty agency.

And also that the property city is display on the search results.

Thanks
Pedro
pedromtze is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
city drop down won't search NetGirl v3.1 Questions & Support 7 12-10-2006 11:15 PM
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 Modules & Modifications 5 09-09-2006 02:27 PM
Drop Down Search Issue CB v3.1 Questions & Support 2 06-23-2006 12:04 AM
Advanced Search Template sporthorsebreeder HTML, CSS, and Design Help 6 04-05-2006 04:25 PM


All times are GMT -4. The time now is 07:20 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0