Home › Forums › Welcome! › Pre-Sales Questions › Search by ALL dates
- This topic has 6 replies, 2 voices, and was last updated 11 years, 9 months ago by
Casey D.
-
AuthorPosts
-
May 21, 2014 at 6:37 am #168868
cmeigs
ParticipantI get my Events Calender setup and working well, it searches for events by date, subject and category, but just one thing I need modified and I’m not sure how to do it. When I search for just a subject it searches with the current date only. How do I modify that search when the date is blank to search for ALL dates?
May 21, 2014 at 10:29 am #169254Casey D
MemberHello cmeigs,
Thanks for contacting us!
Could I get some more information? I tried reproducing your example, but I was able to search for all days with the date blank. Are you in a specific view by chance?
It might help if I had some screenshots to look at or a public url. Here are some excellent tools for uploading some screenshots!
Does this make sense? Let me know if I can explain anything else!
Cheers!
– Casey Driscoll
May 21, 2014 at 3:32 pm #169562cmeigs
ParticipantThanks for the prompt response Casey. I’m using the search widget located on the right hand side of the page that can be seen here: http://www.syracusenewtimes.com/calendar/events/
Searching for a specific term, say “HotDog” returns a URL that looks like this: http://www.syracusenewtimes.com/calendar/events/?eventDate=&tribe-bar-date-day=&tribe-bar-search=hotdog&submit-bar=Find+Events
Searching on a specific day looks like this: http://www.syracusenewtimes.com/calendar/events/?eventDate=2014-05-21&tribe-bar-date-day=&tribe-bar-search=hotdog&submit-bar=Find+Events
Both get error message: There were no results found for “hotdog” on this day. Try searching another day
Is there a flag set somewhere that searches for a specific date only?
Thanks,
ChadMay 23, 2014 at 1:46 pm #172351Casey D
MemberFirst, the advanced ‘sidebar’ customization on this leads me to believe this will be the ultimate issue, but here are my trouble shooting steps.
On a default, ‘normalized’ system, with only The Events Calendar plugin activated and the Twentytwelve theme, this is the expected results:
http://events.plugin/events/?action=tribe_list&tribe_paged=1&tribe-bar-search=jetsYou can see that is substantially different than your url and results:
http://www.syracusenewtimes.com/calendar/events/?eventDate=&tribe-bar-date-day=&tribe-bar-search=blind&submit-bar=Find+EventsI’d be interested to know (and obviously so would you) as to why the query is different. Can you try switching your theme to see if it is still broken, or posting your theme overrides for me to look at?
Does this make sense? Let me know if I can explain anything else!
Cheers!
– Casey Driscoll
May 23, 2014 at 2:11 pm #172376Chad
GuestI do not know why the URL is different, they both post to an index page within the tribe plugin where these URLs are created, here:
<form action=”<?php echo get_bloginfo(‘url’); ?>/events/index.php?” method=”get”>The only question I have a this point is, what does this have to do with the theme? Wouldn’t this function the same regardless of the skin? Any page will post the same to that index page. It is some logic within that index page that produces these URLs and some flag must be set that indicates what dates are displayed in the search results. (obviously an assumption on my part which is why I’m asking support the internal workings).
Thanks Casey
June 9, 2014 at 7:35 am #214718Casey D
MemberHello cmeigs,
Whoa, sorry for the terrible delay! This post fell through the cracks and I wasn’t notified you responded. This our fault entirely, sorry about that!
Looking back, I think I misunderstood the original post. It looks like your default view is set to ‘Day’ view, and this would be why it is returning events for only that day. In this case it shouldn’t have much to do with the template override.
Currently, the search query is dependent upon the current view. For example, if it is set to ‘month’ view, the user would expect to return results for that month. We’ve had some other requests with users wanting to ‘clear the search query’ so to speak, and search for all events, not just within the current view. If you have a moment, we’d love for you to submit this idea to our UserVoice forum. We take user ideas and contributions very seriously, and many times their ideas end up in our future releases.
Does this make sense? Let me know if I can explain anything else!
Cheers!
– Casey Driscoll
June 23, 2014 at 12:27 pm #244972Casey D
MemberHello cmeigs,
We typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.
Cheers!
– Casey Driscoll
-
AuthorPosts
- The topic ‘Search by ALL dates’ is closed to new replies.



