Go Back   Mosets Community > Mosets Announcements and Discussions > Mosets & Joomla

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-16-2016, 04:43 PM
gianfrancolupi gianfrancolupi is offline
Mosets'd
 
Join Date: Jun 2011
Posts: 49
Default New search module with two search fields

Hi,

I would like to ask/propose a new module with two search fields, e.g. :

Search field 1: Name
Search field 2: City

Best would be to have the possibility to choose the two fields, but if it’s too complex, also name and city would be fine.

Thank you!
Gianfranco
Reply With Quote
  #2  
Old 06-18-2016, 08:21 PM
amiman's Avatar
amiman amiman is offline
Mosets'd
 
Join Date: Mar 2009
Location: UK
Posts: 198
Default

I think you can do this using the mod_mt_filter module
Reply With Quote
  #3  
Old 06-20-2016, 11:25 PM
gianfrancolupi gianfrancolupi is offline
Mosets'd
 
Join Date: Jun 2011
Posts: 49
Default

Quote:
Originally Posted by amiman View Post
I think you can do this using the mod_mt_filter module
Thanks for the hint, I did a test with the mod_filter but it’s not what I’m looking for.

With the mod_filter but you can combine the search on two (or more) fields, but it looks it perform an “or” query, showing the results found on both fields.

What I need are two separate search options:

- The first one is perfect like the mod_search (with the possibility to search also the categories)
- The second one should be the “city” in my case.
Reply With Quote
  #4  
Old 06-21-2016, 10:56 AM
dknight dknight is online now
Mosets Team - Lead Developer
 
Join Date: Dec 2004
Posts: 26,471
Default

Hi Gianfranco,

Look for the newly updated Filter module (mod_mt_filter) in MT 3.8. It now supports keyword search! In another words, this allows you to have a simple search field, just like MT's Search module (mod_mt_search), but with the addition of specifying additional fields like City as part of the filter.
__________________
Lee
Lead Developer
Mosets.com - Quality Joomla! Solutions
Reply With Quote
  #5  
Old 06-23-2016, 11:14 PM
gianfrancolupi gianfrancolupi is offline
Mosets'd
 
Join Date: Jun 2011
Posts: 49
Default

Quote:
Originally Posted by dknight View Post
Hi Gianfranco,

Look for the newly updated Filter module (mod_mt_filter) in MT 3.8. It now supports keyword search! In another words, this allows you to have a simple search field, just like MT's Search module (mod_mt_search), but with the addition of specifying additional fields like City as part of the filter.
Hi Lee,

I tested the mod_mt_filter-3.8.0 and yes, it’s better

Anyway in my opinion some modify are needed like:

SQL:
seems it perform an “or”; in other words if I search “Restaurant” and “New York” it show me all the results matching Restaurant or New York.
I would like the search exactly based on the given keywords and show me only the “Restaurants” in “New York”.

Layout:
like the mod_mt_search, a horizontal layout option would be nice to have

Thank you,
Gianfranco
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search module and extra fields? MC McMic Discussions, Troubleshooting and Problems 10 12-31-2009 12:27 PM


All times are GMT +8. The time now is 08:02 PM.

Copyright © 2005-2010 Mosets Consulting

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.