• Hi there,

    There seems to be a problem with the pagination ajax request and the #_EVENTDATES_LOCAL placeholder.

    On a clients site, I have a rather simple global list-format in place:

    <div class="event">
    <p><em>#_EVENTDATES_LOCAL</em></p>
    <h2><a href="#_EVENTURL">#_EVENTNAME</a></h2>
    <div class="event-desc">#_EVENTEXCERPT{15,...}<br/>
     <a href="#_EVENTURL" style="font-size: 16px;">» mehr Info</a></div>
    </div>

    When that placeholder is in place, as soon as you click on any pagination link, all dates read “Javascript disabled

    I could also replicate this on two different sites.

    I first thought it was related to the other ajax problem that came about with one of the latest updates (https://wordpress.org/support/topic/ajax-paging-fails-on-default-events-page/), but the fix from that topic (set standard view for search on “list”) didn’t do anything for this problem.

    What fixed it for the moment was removing the “_LOCAL” from the placeholder, but since for this client it is important that the dates correspond to her timezone, that is not an ideal fix.

    What could be the problem here?

    Thanks and best wishes

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcus

    (@msykes)

    Hello, it seems that when the page is reloaded, the JS that generates the local time isn’t executed on the newly loaded content. When the page is loaded normally, the EM JS looks for all these local placeholder HTML and replaces it with the local time as per the required setting, which doesn’t happen in an ajax pageload currently hence the ‘javascript disabled’ notice (as if JS wasn’t enabled on the browser).

    We’ll need to sort that out in the next update.

    Thread Starter baboehm

    (@baboehm)

    Great, I’ll look forward to that update then 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘#_EVENTDATES_LOCAL doesn’t work with pagination’ is closed to new replies.