• Resolved johnwai

    (@johnwai)


    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/

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

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

    Thread Starter johnwai

    (@johnwai)

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

    Thread Starter johnwai

    (@johnwai)

    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.

    thanks for the additional info. will check this out.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    that does help i think, well spotted

    Thread Starter johnwai

    (@johnwai)

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

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

    Thread Starter johnwai

    (@johnwai)

    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');} ?>" />

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    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’

    Thread Starter johnwai

    (@johnwai)

    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!

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘From your demo: Date picker problem after search’ is closed to new replies.