WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] From your demo: Date picker problem after search (12 posts)

  1. johnwai
    Member
    Posted 1 year ago #

    Everything is great about this plugin. However, I came across this...

    Using event listing search form, say I choose category "Jazz", then choose pagination page 2, problems are:

    1) #ui-datepicker-div been append to body (appear at the bottom of the page) but hasn't been hidden
    2) The both start and end datapicker on the form not working anymore
    3) Return error "Uncaught Missing number at position 0"

    I thought it was something that I've done or installed causes conflict but had a look at your demo site, it is actually happening! This occurs on any pagination number with any search query after using the form on event-listing.

    http://demo.wp-events-plugin.com/events/?scope=future&category=53&pno=2&action=search_events

    Any help will be much appreciated!

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    thanks for pointing that out, will debug that and let you know when fixed.

  3. johnwai
    Member
    Posted 1 year ago #

    That'll be great! Deadline on the line. Thanks so much Marcus! Use the force =)

  4. johnwai
    Member
    Posted 1 year ago #

    Seems like if I take out
    "scope="
    from the query string, it will works...

    And the default setting with return "future" anyway?

    Hope this help.

  5. agelonwl
    Member
    Posted 1 year ago #

    thanks for the additional info. will check this out.

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    that does help i think, well spotted

  7. johnwai
    Member
    Posted 1 year ago #

    Will I see this fix in the next update?
    Not really resolved myself... =(

  8. agelonwl
    Member
    Posted 1 year ago #

    Im still getting this on the demo site however not with my test site using only EM and EMPro plus default twenty twelve theme.

  9. johnwai
    Member
    Posted 1 year ago #

    Not a good news to me because I am using a custom theme, however the wp version is up-to-date. At the moment, seems like by editing "events-search.php" with this line can by-pass the issue

    <input type="hidden" class="em-date-input" name="scope[0]" value="<?php if( !empty($_REQUEST['scope'][0]) ){echo esc_attr($_REQUEST['scope'][0]);} ?>" />

    to

    <input type="hidden" class="em-date-input" name="scope[0]" value="<?php if( !empty($_REQUEST['scope'][0]) ){echo esc_attr($_REQUEST['scope'][0]);}else{echo date('Y-m-d');} ?>" />

  10. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    I just updated the dev version 5.3.6.4 which fixes this.

    To update to the dev version, visit Events > Settings > Admin Tools > see/click "Check Dev-Versions'

  11. johnwai
    Member
    Posted 1 year ago #

    Hi Marcus,

    Spot on, works like a dream!
    Thanks very much for the quick reply and time.

    I hope this help too, since we are on search form listing output...
    The pagination always not "active" for page 1 when on page 1, and I work out by adding an IF statement in "events-list.php" after this line will fix it.

    //do some custom pagination (if needed/requested)
    		if( !empty($args['limit']) && $events_count > $args['limit'] ){
    			//Add code here ---- Make page 1 button become active
    			if(empty($args['pno'])){
    				$args['pno'] = 1;
    			}

    Thanks for the update!

  12. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    thx for spotting that, will make a different adjustment but same effect

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic