Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Locations search
Goto page 1, 2  Next
 
Post new topic   Reply to topic     Forum Index -> Hacking Thyme
View previous topic :: View next topic  
Author Message
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Mon Nov 27, 2006 4:51 am    Post subject: Locations search Reply with quote

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
View user's profile Send private message Visit poster's website
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Mon Nov 27, 2006 6:03 am    Post subject: More locations search questions Reply with quote

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
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Nov 27, 2006 1:00 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Mon Nov 27, 2006 1:10 pm    Post subject: Reply with quote

Hi Ian,

Yep I'm using the locations mod. A separate search box would be nice.

_________________
Jasper Espejo
Back to top
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Nov 27, 2006 3:01 pm    Post subject: Reply with quote

I'll meet you half way and modify the search to include locations in the locations module. Please download:

http://www.extrosoft.com/products/thyme/updates/1.3/class.event_list.txt

rename it to class.event_list.php and upload it to Thyme's include/classes folder.
Back to top
View user's profile Send private message Visit poster's website
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Tue Nov 28, 2006 3:58 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Tue Nov 28, 2006 4:00 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Tue Nov 28, 2006 5:17 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Tue Nov 28, 2006 12:26 pm    Post subject: Reply with quote

Wait ... from Joomla or Thyme? .. I get the feeling you are talking about searching from Joomla where as I am not.
Back to top
View user's profile Send private message Visit poster's website
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Tue Nov 28, 2006 3:44 pm    Post subject: Reply with quote

Sorry for the confusion. I'm searching from Joomla. I installed the calendar search mambot.
_________________
Jasper Espejo
Back to top
View user's profile Send private message Visit poster's website
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Mon Dec 04, 2006 1:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Dec 04, 2006 2:09 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Mon Dec 04, 2006 2:19 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Dec 04, 2006 2:31 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Mon Dec 04, 2006 3:11 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Hacking Thyme All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.