Search on calendar or only show results after searching.

WordPress Event Management, Calendars & Registration Forums General Question Search on calendar or only show results after searching.

This topic contains 7 replies, has 2 voices, and was last updated by  Mehrdad Emami 9 years, 10 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #16717

    Event Organizer is the best event plugin I’ve found! It’s very easy to understand and yet very advanced.
    The free version does everything I need except for the search functionality
    So I decided to buy the pro version to take advantage of this great feature although it was expensive.
    However I expected more options and capabilities for it. It definitely needs more features and options.

    I added the search shortcode to top of the calendar but it shows the events list under it.
    How can I only have the search without the list until I actually do a search and see the results after?
    preferably on a separate page.

    Secondly, Is it possible to have the option to search and show the results right on the calendar view?
    Some sort of filtering behavior. This would be ideally the best way.

    If only there was an option to choose different behaviors for the search.

    Please let me know what I can do here because I wont be able to use the search like this.

    Thanks

    Mehrdad Emami
    #16741

    H Mehrdad,

    You can edit the search-event-list.php (in event-organiser-pro/templates) template ad add the following:

    <?php if( empty( $_REQUEST['eo_search'] ) ){ 
        return;
    }?>
    

    just above the <?php if ( $eo_event_loop->have_posts() ): ?> line.

    The event search shortcode operates independently of the calendar, and while the calendar supports filtering by category/tag/venue/ etc. it doesn’t support a ‘search’ feature.

    Stephen Harris
    #16742

    That worked great! Thanks.

    Now I still need some customization to get exactly what I want.

    When I add the calendar shortcode parameter “goto” it doesn’t do anything. Is it a bug?
    Can we have the Date range instead of one day pick for the calendar shortcode?

    Mehrdad Emami
    #16760

    When I add the calendar shortcode parameter “goto” it doesn’t do anything. Is it a bug?

    It could be, can you link to the site?

    Can we have the Date range instead of one day pick for the calendar shortcode?

    I’m not sure how that would work. Currently selecting a date in the goto will jump the user to the date’s month / week / day (depending on the current view).

    Stephen Harris
    #16762

    Yes I have the moth view for the calendar and it only jumps to the month but the date picker has all the days to click and it makes it confusing.
    Can it not jump to the exact day? Or when the calender view changes the Goto button shows months instead of all days?

    Thanks

    Mehrdad Emami
    #16763

    Correction: Can it just jump to the exact day?

    Mehrdad Emami
    #16768

    Hi Mehrdad,

    No I’m afraid the behaviour of the calendar is as described above. However in Event Organiser 3.0.0, the calendar is being heavily updated. I’ll look into this for that version to, since I agree, it is not ideal to have a datepicker when really the user is selecting a month / week.

    Stephen Harris
    #16784

    Thanks for considering this for the update. And I hope there could be an option to choose one date or a date range.
    I am not going to use it at the moment and I hope I can find a solution to my other topic.

    Thanks

    Mehrdad Emami
Viewing 8 posts - 1 through 8 (of 8 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.