| View previous topic :: View next topic |
| Author |
Message |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Mon Nov 27, 2006 4:51 am Post subject: Locations search |
|
|
Was wondering if it would be possible to create a search box for city, location, zip of an event.
Thanks! _________________ Jasper Espejo |
|
| Back to top |
|
 |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Mon Nov 27, 2006 6:03 am Post subject: More locations search questions |
|
|
Also, the results from the thyme search mambot seems to be limited to indexed words from the even description. Is there any way to include words from the other data like the locations data? _________________ Jasper Espejo |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Nov 27, 2006 1:00 pm Post subject: |
|
|
Hi,
Are you using the locations mod for Thyme? Do you want this to be a separate search box or would you like the existing search to use these fields? |
|
| Back to top |
|
 |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Mon Nov 27, 2006 1:10 pm Post subject: |
|
|
Hi Ian,
Yep I'm using the locations mod. A separate search box would be nice. _________________ Jasper Espejo |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
|
| Back to top |
|
 |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Tue Nov 28, 2006 3:58 am Post subject: |
|
|
Hi Ian. I uploaded the file but when I tried searching using words from existing locations, the events still dont show up in the results. _________________ Jasper Espejo |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue Nov 28, 2006 4:00 am Post subject: |
|
|
Hi,
You renamed it to class.event_list.php and uploaded it over the existing one (choosing to overwrite the existing file if promted) include/classes/class.event_list.php? |
|
| Back to top |
|
 |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Tue Nov 28, 2006 5:17 am Post subject: |
|
|
Yes.
I have info like this in location in one of the events:
Location: Mandarin Oriental - Makati
Address 1: Makati Avenue
Address 2:
So when I try searching for "Makati" or "Mandarin", the event does not show up in the results. _________________ Jasper Espejo |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Tue Nov 28, 2006 12:26 pm Post subject: |
|
|
| Wait ... from Joomla or Thyme? .. I get the feeling you are talking about searching from Joomla where as I am not. |
|
| Back to top |
|
 |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Tue Nov 28, 2006 3:44 pm Post subject: |
|
|
Sorry for the confusion. I'm searching from Joomla. I installed the calendar search mambot. _________________ Jasper Espejo |
|
| Back to top |
|
 |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Mon Dec 04, 2006 1:44 pm Post subject: |
|
|
In Thyme calendar, I see a "Venue" dropdown menu. Is it possible to have that same menu in a Joomla page? Thanks! _________________ Jasper Espejo |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Dec 04, 2006 2:09 pm Post subject: |
|
|
Hi Jasper,
Not without affecting all Thyme content on the page. E.g. If you have an upcoming events module in Joomla and select a venue, it would affect the upcoming events as well as any calendar / event list you have in Joomla's main content area. Does this make sense? |
|
| Back to top |
|
 |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Mon Dec 04, 2006 2:19 pm Post subject: |
|
|
Thanks for the quick response Ian.
I think you mean it will work like the category dropdown, by filtering the displayed events in the calendar to what's selected?
Can't it work like it does in Thyme? By listing all events from the selected venue?
Thanks! _________________ Jasper Espejo |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Dec 04, 2006 2:31 pm Post subject: |
|
|
Here... do this..
Edit modules/joomla/com_thyme.php and add this under require_once(_CAL_BASE_PATH_.".. calendar.php"):
| Code: |
| $cal->register_persistent('location',intval($_REQUEST['location'])); |
Create a blank component or page in Joomla Studio and copy / paste from modules/locations/location_filter.php. Replace all instances of $_SESSION with $_REQUEST and that should do it.
Let me know if you have any questions. |
|
| Back to top |
|
 |
jasperespejo
Joined: 07 Sep 2006 Posts: 80 Location: Mandaluyong, Philippines
|
Posted: Mon Dec 04, 2006 3:11 pm Post subject: |
|
|
Dear Ian. Please look at this page:
http://www.thewherewhenproject.com/joomla/component/option,com_thyme/Itemid,35/
So I followed your instruction but...
1. If I use the component as php include in a Joomla Studio page, it doesnt work. (top of page beside the categories dropdown)
2. If i put it at the bottom of the month-view tab, the venues appear but there is a "Method not allowed" message upon submit.
3. If I make a module in thyme and install in Joomla (right column under search box) it doesnt work too and I get the same mysql error as in (1)...
What could I be doing wrong? I prefer to have it either in (1) where the categories are or (3) under the search box...
Thanks as always... _________________ Jasper Espejo |
|
| Back to top |
|
 |
|