past events do not display event passed message in place of countdown
-
since the 5may version, past events do not display event passed message in place of countdown; countdown module is not output at all:-\
and the ical/gcal links should not be shown @ all…i have overridden single-mec-events.php to do that:
<script type="text/javascript" id="cghoa-reparent-export-div"> var icals = document.querySelector(".mec-event-export-module"); var countdown = document.querySelector("#mec_countdown_details"); if ( countdown === null ) { icals.remove(); var msg = document.createElement("h3"); var text = document.createTextNode("This event has passed"); msg.appendChild(text); var infobox = document.querySelector(".mec-event-meta"); infobox.insertBefore(msg, infobox.firstChild); }
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘past events do not display event passed message in place of countdown’ is closed to new replies.