Home arrow Forum
Home
About
Demo
Forum
FAQ
Live Sites
Feedback

Login





Lost Password?
No account yet? Register
Stay Tuned!
 
Who's Online
We have 1 guest and 1 member online

powered_by Joomla
Duplicate entry \'0\' for key 1 SQL=INSERT INTO jos_fb_whoisonline (`userid` , `time`, `what`, `task`, `do`, `func`,`link`, `userip`, `user`) \n VALUES (\'0\', \'1223896335\', \'Re:add type search in quick search module\',\'\',\'\',\'view\',\'/index.php?option=com_fireboard&Itemid=42&func=view&catid=9&id=5228\', \'38.103.63.59\', \'0\')
ME Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:add type search in quick search module (0 viewing) 
Go to bottom Post Reply Favoured: 0
TOPIC: Re:add type search in quick search module
#5199
stecciu1 (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
[SOLVED] add type search in quick search module 9 Months, 2 Weeks ago Karma: 0  
Hi to everyone!
I'm looking for a solution to make the search module "type sensitive".. eheh..
In other words.. I would to cut the search module in two search form, the first one with the search regards the sell archive and the other one with the search on the rent archive..
I try to put the TYPE flag in the query of the search but I can't find the query!?!?! How is it? Where is it?
Maybe the search module need the query of the searchbot in joomla!?

Someone can help me?

Please!!

stecciu<br><br>Post edited by: stecciu1, at: 2008/01/07 14:48
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5209
stecciu1 (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:add type search in quick search module 9 Months, 1 Week ago Karma: 0  
someone can help me?
is this an open source component or somewhatelse?
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5228
stecciu1 (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:add type search in quick search module 9 Months, 1 Week ago Karma: 0  
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!&lt;br&gt;&lt;br&gt;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&amp;act=easearch&amp;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
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop