Welcome to Com-Property

Joomla Component for Real Estate

You can download this component free!

Download

To download this component go back to Download menu

Member Login

Forgot your paswword? Forgot your username? Register
RSS
Home Forum v3
Welcome, Guest
Please Login or Register.    Lost Password?

No search module-what do you do?
(1 viewing) (1) Guest
Go to bottomPage: 1234
TOPIC: No search module-what do you do?
*
#202
No search module-what do you do? 7 Months, 2 Weeks ago Karma: 1
I read that allot of people are working and installing the new version, but how are you solving the search function?
Simonee
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#204
Re:No search module-what do you do? 7 Months, 2 Weeks ago Karma: 0
I'm waiting for the search module to be complete...
djmagic
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#209
Re:No search module-what do you do? 7 Months, 2 Weeks ago Karma: 0
djmagic wrote:
I'm waiting for the search module to be complete...

Me too
pretoadb
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#232
Re:No search module-what do you do? 7 Months, 2 Weeks ago Karma: 30
administrator
Admin
Posts: 300
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#235
Re:No search module-what do you do? 7 Months, 2 Weeks ago Karma: 0
I just installed and setup the search module. The "states" is not showing up on my module. Also, what does the "id Category Price..." for?
djmagic
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/01/27 15:34 By djmagic.
The administrator has disabled public write access.
 
#236
Re:No search module-what do you do? 7 Months, 2 Weeks ago Karma: 0
Hello and many, many thanks for your incredible work.

Just 2 things for now. First of all, i think that the minimum-maximum price is not working because whatever the selected options are, after the search it shows up all the properties that meet the selections above and it ignores the price selections. It doesn't work in your website either.
Second, the two prices that it prints under the search button, are for debugging purposes i guess?

Thanks very much and looking forward to your answer.
Hor
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#237
Re:No search module-what do you do? 7 Months, 2 Weeks ago Karma: 30
sorry.

\components\com_properties\models\properties.php

find
id_maxprice
and
id_minprice

replace for

maxprice

minprice


----------------
if(JRequest::getVar('id_minprice') && JRequest::getVar('id_maxprice')){
//echo 'minprice : '.JRequest::getVar('id_minprice');
$this->sqlprecio_producto = ' AND p.price BETWEEN '.JRequest::getVar('id_minprice').
' AND '.JRequest::getVar('id_maxprice');
}elseif(JRequest::getVar('id_minprice')){
$this->sqlprecio_producto = ' AND p.price >= '.JRequest::getVar('id_minprice');
}elseif(JRequest::getVar('id_maxprice')){
$this->sqlprecio_producto = ' AND p.price <= '.JRequest::getVar('id_maxprice');
}
---------------------

TO

--------------------
if(JRequest::getVar('minprice') && JRequest::getVar('maxprice')){
//echo 'minprice : '.JRequest::getVar('id_minprice');
$this->sqlprecio_producto = ' AND p.price BETWEEN '.JRequest::getVar('minprice').
' AND '.JRequest::getVar('maxprice');
}elseif(JRequest::getVar('minprice')){
$this->sqlprecio_producto = ' AND p.price >= '.JRequest::getVar('minprice');
}elseif(JRequest::getVar('maxprice')){
$this->sqlprecio_producto = ' AND p.price <= '.JRequest::getVar('maxprice');
}
--------------------
administrator
Admin
Posts: 300
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#238
Re:No search module-what do you do? 7 Months, 2 Weeks ago Karma: 30
and download module again to hide price after search buton...
file need :
\modules\mod_prop_search_js\tmpl/default.php

my configuration to use 2 price list: rent and sale

www.com-property.com/manual/search.png

you can use 3

day rent
month rent
sell
administrator
Admin
Posts: 300
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/01/27 16:38 By administrator.
The administrator has disabled public write access.
 
#239
Re:No search module-what do you do? 7 Months, 2 Weeks ago Karma: 1
Is it possible to ad "size" or "area" of the house in the search form?
Simonee
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#240
Re:No search module-what do you do? 7 Months, 2 Weeks ago Karma: 6
Hola fabio.

Cambie components\com_properties\models\properties.php
a
if(JRequest::getVar('minprice') && JRequest::getVar('maxprice')){
//echo 'minprice : '.JRequest::getVar('id_minprice');
$this->sqlprecio_producto = ' AND p.price BETWEEN '.JRequest::getVar('minprice').
' AND '.JRequest::getVar('maxprice');
}elseif(JRequest::getVar('minprice')){
$this->sqlprecio_producto = ' AND p.price >= '.JRequest::getVar('minprice');
}elseif(JRequest::getVar('maxprice')){
$this->sqlprecio_producto = ' AND p.price <= '.JRequest::getVar('maxprice');
}


pero me sale la pagina en blanco cuando ago la busqueda y tampoco me funciona los numeros para pasar de pagina


la pagina con el buscador me sale erroe abajo ala izquierda.


Muchas Gracias
eurotete
Senior Boarder
Posts: 71
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
Last Edit: 2010/01/27 20:17 By eurotete.
The administrator has disabled public write access.
 
#247
Re:No search module-what do you do? 7 Months, 2 Weeks ago Karma: 0
I got the "States" selection to show up, the screenshot admin post really helped out. The "id State Default" setting was set on "1" and when I change it to "0" as it shown on admin's screenshot the State selection shows up. And thanks for the "id State Default..." explaination too! Excellent job on the mod.

Now, I found another issue. When you change the selection on the "state" the "locality" selection will also change. However, if you change the "state" selection back to "All states" again the "locality" selection became disable.

Also, some time I got this error message showing up when I do a search. "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /libraries/joomla/database/database/mysql.php on line 344"
djmagic
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/01/28 02:34 By djmagic.
The administrator has disabled public write access.
 
#256
Re:No search module-what do you do? 7 Months, 1 Week ago Karma: 30
eurotete , djmagic post url please
administrator
Admin
Posts: 300
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#257
Re:No search module-what do you do? 7 Months, 1 Week ago Karma: 30
Simonee , yes is possible, but wath format?
2 selects?
min area
max area
???
administrator
Admin
Posts: 300
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#258
Re:No search module-what do you do? 7 Months, 1 Week ago Karma: 6
Muchas Gracias
eurotete
Senior Boarder
Posts: 71
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
Last Edit: 2010/03/24 19:36 By eurotete.
The administrator has disabled public write access.
 
#259
Re:No search module-what do you do? 7 Months, 1 Week ago Karma: 0
Can you give an example of how to add some more options, preferrably some selections with 2 radio buttons (ie fireplace (yes or no), garage (yes or no), etc.)

Thx mate!
Hor
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#263
Re:No search module-what do you do? 7 Months, 1 Week ago Karma: 1
Hi Fabio,

Two selects, mini and max.
Simonee
Fresh Boarder
Posts: 19
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#264
Re:No search module-what do you do? 7 Months, 1 Week ago Karma: 30
eurotete
es extraño
Menú "Todos los inmuebles"
te redirecciona hacia :
www.lloretvillas.com/Todos-los-inmuebles.html

pero el buscador hacia otro menu

www.lloretvillas.com/Property.html?task=search

seguramente tienes mas de un menu hacia el componente, fijate de borrarlos y sacarlos de la papelera también.

si quieres mandame privado con acceso para mirar.

sobre pagination hay que ver si anda con ese cambio
administrator
Admin
Posts: 300
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#265
Re:No search module-what do you do? 7 Months, 1 Week ago Karma: 6
ok te envio el admin en privado
eurotete
Senior Boarder
Posts: 71
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
The administrator has disabled public write access.
 
#266
Re:No search module-what do you do? 7 Months, 1 Week ago Karma: 30
y veo que tienes otro mas "Properties"

para la paginación probá esto:

components\com_properties\views\templates..
yo estoy usando list3.php

<div id="accordion">

$action='index.php?option=com_properties&view='.$view;
?>
<form action="<?php echo JRoute::_($action);?>" method="post" name="adminForm" id="adminForm">
<input name="field" value="" type="hidden">



cambialo por esto:
<div id="accordion">

$action = LinkHelper::getLink(JRequest::getVar('view'), JRequest::getVar('task'),'',$row->CYslug,$row->Sslug, $row->Lslug,$row->Cslug,$row->Tslug,$row->Pslug);

?>
<form action="<?php echo JRoute::_($action);?>" method="post" name="adminForm" id="adminForm">
<input name="field" value="" type="hidden">
administrator
Admin
Posts: 300
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/01/28 17:21 By administrator.
The administrator has disabled public write access.
 
#267
Re:No search module-what do you do? 7 Months, 1 Week ago Karma: 6
Fabio envie los datos de admin a al contacto de esta web
Gracias
eurotete
Senior Boarder
Posts: 71
graphgraph
User Offline Click here to see the profile of this user
Gender: Male
The administrator has disabled public write access.
 
Go to topPage: 1234