stecciu1 wrote:
QUOTE:
Hi to everyone!
I'm just modifying the quick search module to apport some modify at the query of the search.
Somebody knows where I can find the query?
Somebody knows where is the query of the quick search module?
Thx to all!<br><br>Post edited by: stecciu1, at: 2008/01/07 14:35
QUOTE:
The query is in COMPONENTS/COM_ESTATEAGENT/estateagent.php
it's the showEASearchResult function near the 980 line.
This function can be used to link some precise result on a text link. (sorry for my english..)
You need to add a task on the easearch switch in the top of the page and link it at a copy of that function. Just modify the query and you got it!
In the link put the link that correspond at that task, example:
task added (in the EASEARCH switch): showXXX
linked function (the copy of showEASearchResult): showEASearchResultXXX
[modify the query]
and your link is:
index.php?option=com_estateagent&act=easearch&task=showXXX
I hope I'm helpfull to someone.
:P
p.s.: in this site there isn't support...
Just divide the form in 2 form (one for the sell type and one for the rent type), at this point you need to send the 2 different form in 2 different TASK (so in 2 different function). See above to know how to take the link to put in the form.
Add a TYPE condition in the WHERE variable.
(You'll need to create 2 function so you can have 2 QUERY).
It's a forced method but it work..
MP me if you need some help.
Bye
Post edited by: stecciu1, at: 2008/01/07 14:54<br><br>Post edited by: stecciu1, at: 2008/01/07 14:56