Code Monkey home page Code Monkey logo

Comments (7)

nerrad avatar nerrad commented on August 15, 2024

Please review the guidelines for posting bug reports here -> https://github.com/eventespresso/event-espresso-core#testing and update your post accordingly. Thank you.

from event-espresso-core.

sethshoultes avatar sethshoultes commented on August 15, 2024

I'm seeing a Javascript error (caused by the theme) on this page that should probably be fixed:
http://showthemes.com/dummy-demo/

Timestamp: 1/20/15, 8:41:21 AM
Error: ReferenceError: countdown_expiration is not defined
Source File: http://showthemes.com/dummy-demo/wp-content/themes/Tyler/event-framework/assets//js/countdown.js?ver=4.1
Line: 9

from event-espresso-core.

sbolognini avatar sbolognini commented on August 15, 2024

Hi, the error is now removed.

from event-espresso-core.

nerrad avatar nerrad commented on August 15, 2024

Again, please review https://github.com/eventespresso/event-espresso-core#testing on reporting bugs. More specifically, we do NOT know what version of EE (or what branch) this report is based on.

from event-espresso-core.

nerrad avatar nerrad commented on August 15, 2024

Also, please verify the same bug happens on twenty eleven, or twenty-fifteen core wp themes. If it does NOT happen with those themes, then it is likely this is a theme issue and not an EE issue.

from event-espresso-core.

tn3rb avatar tn3rb commented on August 15, 2024

The errors do not appear on http://www.showthemes.com/dummy-demo because you have probably embedded the shortcode using do_shortcode() into a custom template that appears to only use widget areas for injecting content and does not have an actual "loop" anywhere.

If you look at the markup for the second page you listed, you will notice the following html immediately after the header:

<div id="espresso-notices">
<div id="espresso-ajax-loading" style="display:none;">
<div id="espresso-ajax-notices">

this gets injected into the html via the WordPress "pre_get_posts" hook and is used for presenting errors.

Since your first page has no loop, the "pre_get_posts" hook never fires, and the above markup doesn't get added to the page.

Possible Solutions:

  • manually add the EE notices html into your template (get the full html from the second page DOM)
  • manually trigger the WordPress "pre_get_posts" hook within your template where you want the notifications to appear.

from event-espresso-core.

tn3rb avatar tn3rb commented on August 15, 2024

going to close this as it's been nearly a month with no further response

from event-espresso-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.