Home › Forums › Calendar Products › Events Calendar PRO › Strange Event Appearing on List Page
- This topic has 7 replies, 2 voices, and was last updated 10 years, 10 months ago by
Barry.
-
AuthorPosts
-
May 19, 2015 at 3:23 pm #963740
Danielle
ParticipantI’ve set the list page as the default calendar view. When visiting the page and using the skeleton styles, the initial view shows what looks like a list of links and events but they’re all listed in a single paragraph tag.
<p>Find Events Event Views Navigation View As List Month Map Events From Search Near Upcoming Events Events List Navigation « Previous Events Next Events » May 2015 Autotask Community Live May 17 – May 19 Trump National Doral Miami, 4400 NW 87th Avenue, Miami, FL 33178 United States Find out more » June 2015 Ingram…</p>
The snippet above is what <?php the_excerpt() ?> is loading. There is no excerpt in the event list that has that information. You can see that it’s taking all the text on the page and adding it into the excerpt (Find Events is the title of the search bar, View As and the follow values are the dropdown values, etc).
If I click next/previous, the proper list displays as desired.
I have not modified any theme files. I loaded all events by csv import. Check out my screenshots to see what I’m talking about.
Strange initial view: http://i.imgur.com/CQGgzWG.png
Correct view after clicking next/previous: http://i.imgur.com/XqOaSEv.png
List of Events (to show the strange event isn’t added to the site): http://i.imgur.com/Hpgha5N.pngMay 20, 2015 at 6:28 am #963834Barry
MemberHi Danielle,
Sorry to hear you’ve bumped up against a few difficulties here.
Is this something you are finding crops up with a specific theme/are you finding it occurs with unmodified default themes such as Twenty Fifteen?
What is the theme in question – and does toggling the template setting found in Events → Settings → Display help at all?
Thanks!
May 20, 2015 at 2:00 pm #964008Danielle
ParticipantYes, changing to WP’s default theme solves this issue. However I need to use it with my current theme and this type of error doesn’t appear like a HTML/CSS issue.
The <?php the_excerpt() ?> is taking the page’s text and displaying it as an event. This even happens after deleting all events and venues which rules out any issue with bad data being imported. I’m currently testing with the test venues/events listed in your documentation.
I’ve disabled all plugins, removed everything in the header/footer except wp_header and wp_footer. I’ve removed everything from the theme’s functions.php file.
Below is the source of the page to show that the code is vanilla plugin/wp. Yes, I’ve downloaded the latest version of the plugin and pro version a few times.
<!doctype html>
<!–[if lt IE 7]><html lang=”en-US” class=”no-js lt-ie9 lt-ie8 lt-ie7″><![endif]–>
<!–[if (IE 7)&!(IEMobile)]><html lang=”en-US” class=”no-js lt-ie9 lt-ie8″><![endif]–>
<!–[if (IE 8)&!(IEMobile)]><html lang=”en-US” class=”no-js lt-ie9″><![endif]–>
<!–[if gt IE 8]><!–> <html lang=”en-US” class=”no-js”><!–<![endif]–>
<head>
<meta charset=”utf-8″>
<meta http-equiv=”X-UA-Compatible” content=”IE=edge,chrome=1″>
<title>Upcoming Events </title>
<script type=”text/javascript”>
window._wpemojiSettings = {“baseUrl”:”http:\/\/s.w.org\/images\/core\/emoji\/72×72\/”,”ext”:”.png”,”source”:{“concatemoji”:”http:\/\/localhost\/axlive\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.2.1″}};
!function(a,b,c){function d(a){var c=b.createElement(“canvas”),d=c.getContext&&c.getContext(“2d”);return d&&d.fillText?(d.textBaseline=”top”,d.font=”600 32px Arial”,”flag”===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement(“script”);c.src=a,c.type=”text/javascript”,b.getElementsByTagName(“head”)[0].appendChild(c)}var f;c.supports={simple:d(“simple”),flag:d(“flag”)},c.supports.simple&&c.supports.flag||(f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
</script>
<style type=”text/css”>
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
<link rel=’stylesheet’ id=’tribe-events-bootstrap-datepicker-css-css’ href=’http://localhost/axlive/wp-content/plugins/the-events-calendar/vendor/bootstrap-datepicker/css/datepicker.css?ver=4.2.1′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’tribe-events-custom-jquery-styles-css’ href=’http://localhost/axlive/wp-content/plugins/the-events-calendar/vendor/jquery/smoothness/jquery-ui-1.8.23.custom.css?ver=4.2.1′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’tribe-events-calendar-style-css’ href=’http://localhost/axlive/wp-content/plugins/the-events-calendar/resources/tribe-events-skeleton.min.css?ver=3.9.3′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’tribe-events-calendar-pro-style-css’ href=’http://localhost/axlive/wp-content/plugins/events-calendar-pro/resources/tribe-events-pro-skeleton.min.css?ver=3.9.3′ type=’text/css’ media=’all’ />
<script type=’text/javascript’ src=’http://localhost/axlive/wp-includes/js/jquery/jquery.js?ver=1.11.2′></script>
<script type=’text/javascript’ src=’http://localhost/axlive/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1′></script>
<script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/vendor/jquery-placeholder/jquery.placeholder.min.js?ver=2.0.7′></script>
<script type=’text/javascript’>
/* <![CDATA[ */
var tribe_bootstrap_datepicker_strings = {“dates”:{“days”:[“Sunday”,”Monday”,”Tuesday”,”Wednesday”,”Thursday”,”Friday”,”Saturday”,”Sunday”],”daysShort”:[“Sun”,”Mon”,”Tue”,”Wed”,”Thu”,”Fri”,”Sat”,”Sun”],”daysMin”:[“S”,”M”,”T”,”W”,”T”,”F”,”S”,”S”],”months”:[“January”,”February”,”March”,”April”,”May”,”June”,”July”,”August”,”September”,”October”,”November”,”December”],”monthsShort”:[“Jan”,”Feb”,”Mar”,”Apr”,”May”,”Jun”,”Jul”,”Aug”,”Sep”,”Oct”,”Nov”,”Dec”],”clear”:”Clear”,”today”:”Today”}};
/* ]]> */
</script>
<script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js?ver=3.2′></script>
<script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/vendor/jquery-resize/jquery.ba-resize.min.js?ver=1.1′></script>
<script type=’text/javascript’>
/* <![CDATA[ */
var tribe_js_config = {“permalink_settings”:”\/%postname%\/”,”events_post_type”:”tribe_events”,”events_base”:”http:\/\/localhost\/axlive\/events\/”};
/* ]]> */
</script>
<script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/resources/tribe-events.min.js?ver=3.9.3′></script>
<script type=’text/javascript’>
/* <![CDATA[ */
var TribeEventsPro = {“geocenter”:{“max_lat”:”38.5184656″,”max_lng”:”-90.3359378″,”min_lat”:”38.5184656″,”min_lng”:”-90.3359378″},”map_tooltip_event”:”Event: “,”map_tooltip_address”:”Address: “,”recurrence”:{“splitAllMessage”:”You are about to split this series in two.\n\nThe event you selected and all subsequent events in the series will be separated into a new series of events that you can edit independently of the original series.\n\nThis action cannot be undone.”,”splitSingleMessage”:”You are about to break this event out of its series.\n\nYou will be able to edit it independently of the original series.\n\nThis action cannot be undone.”,”bulkDeleteConfirmationMessage”:”Are you sure you want to trash all occurrences of these events?”}};
/* ]]> */
</script>
<script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/events-calendar-pro/resources/tribe-events-pro.min.js?ver=3.9.3′></script>
<script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/resources/tribe-events-bar.min.js?ver=3.9.3′></script>
<script type=’text/javascript’ src=’http://maps.google.com/maps/api/js?sensor=false&ver=4.2.1′></script>
<script type=’text/javascript’>
/* <![CDATA[ */
var GeoLoc = {“ajaxurl”:”http:\/\/localhost\/axlive\/wp-admin\/admin-ajax.php”,”nonce”:”f80158afb0″,”map_view”:””};
/* ]]> */
</script>
<script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/events-calendar-pro/resources/tribe-events-ajax-maps.min.js?ver=3.9.3′></script>
<link rel=”EditURI” type=”application/rsd+xml” title=”RSD” href=”http://localhost/axlive/xmlrpc.php?rsd” />
<link rel=”wlwmanifest” type=”application/wlwmanifest+xml” href=”http://localhost/axlive/wp-includes/wlwmanifest.xml” />
<meta name=”generator” content=”WordPress 4.2.1″ />
</head>
<body class=”logged-in tribe-filter-live tribe-events-uses-geolocation events-list events-archive tribe-theme-axforteen page-template-news-events-php singular”> <div id=”tribe-events” class=”tribe-no-js” data-live_ajax=”1″ data-datepicker_format=”0″ data-category=””><div class=”tribe-events-before-html”></div><span class=”tribe-events-ajax-loading”>
</span>
<div id=”tribe-events-content-wrapper” class=”tribe-clearfix”><input type=”hidden” id=”tribe-events-list-hash” value=””>
<!– Tribe Bar –><div id=”tribe-events-bar”>
<form id=”tribe-bar-form” class=”tribe-clearfix” name=”tribe-bar-form” method=”post” action=”http://localhost/axlive/events/list?post_type=tribe_events&eventDisplay=list”>
<!– Mobile Filters Toggle –>
<div id=”tribe-bar-collapse-toggle” >
Find Events<span class=”tribe-bar-toggle-arrow”></span>
</div><!– Views –>
<div id=”tribe-bar-views”>
<div class=”tribe-bar-views-inner tribe-clearfix”>
<h3 class=”tribe-events-visuallyhidden”>Event Views Navigation</h3>
<label>View As</label>
<select class=”tribe-bar-views-select tribe-no-param” name=”tribe-bar-view”>
<option selected value=”http://localhost/axlive/events/list/” data-view=”list”>
List </option>
<option tribe-inactive value=”http://localhost/axlive/events/month/” data-view=”month”>
Month </option>
<option tribe-inactive value=”http://localhost/axlive/events/map/” data-view=”map”>
Map </option>
</select>
</div>
<!– .tribe-bar-views-inner –>
</div><!– .tribe-bar-views –><div class=”tribe-bar-filters”>
<div class=”tribe-bar-filters-inner tribe-clearfix”>
<div class=”tribe-bar-date-filter”>
<label class=”label-tribe-bar-date” for=”tribe-bar-date”>Events From</label>
<input type=”text” name=”tribe-bar-date” style=”position: relative;” id=”tribe-bar-date” value=”” placeholder=”Date”>
<input type=”hidden” name=”tribe-bar-date-day” id=”tribe-bar-date-day” class=”tribe-no-param” value=””> </div>
<div class=”tribe-bar-search-filter”>
<label class=”label-tribe-bar-search” for=”tribe-bar-search”>Search</label>
<input type=”text” name=”tribe-bar-search” id=”tribe-bar-search” value=”” placeholder=”Search”> </div>
<div class=”tribe-bar-geoloc-filter”>
<label class=”label-tribe-bar-geoloc” for=”tribe-bar-geoloc”>Near</label>
<input type=”hidden” name=”tribe-bar-geoloc-lat” id=”tribe-bar-geoloc-lat” value=”” /><input type=”hidden” name=”tribe-bar-geoloc-lng” id=”tribe-bar-geoloc-lng” value=”” /><input type=”text” name=”tribe-bar-geoloc” id=”tribe-bar-geoloc” value=”” placeholder=”Location”> </div>
<div class=”tribe-bar-submit”>
<input class=”tribe-events-button tribe-no-param” type=”submit” name=”submit-bar” value=”Find Events” />
</div>
<!– .tribe-bar-submit –>
</div>
<!– .tribe-bar-filters-inner –>
</div><!– .tribe-bar-filters –></form>
<!– #tribe-bar-form –></div><!– #tribe-events-bar –>
<!– Main Events Content –>
<div id=”tribe-events-content” class=”tribe-events-list”>
<!– List Title –>
<h2 class=”tribe-events-page-title”>Upcoming Events</h2><!– Notices –>
<!– List Header –>
<div id=”tribe-events-header” data-title=”Upcoming Events | ” data-startofweek=”0″ data-view=”list” data-baseurl=”http://localhost/axlive/events/list/”><!– Header Navigation –>
<h3 class=”tribe-events-visuallyhidden”>Events List Navigation</h3>
<ul class=”tribe-events-sub-nav”>
<!– Left Navigation –><!– Right Navigation –>
</div>
<!– #tribe-events-header –><!– Events Loop –>
<div class=”tribe-events-loop vcalendar”>
<!– Month / Year Headers –>
<span class=’tribe-events-list-separator-month’><span>May 2015</span></span>
<!– Event –>
<div id=”post-0″ class=””><!– Event Cost –>
<!– Event Title –>
<h2 class=”tribe-events-list-event-title entry-title summary”>
</h2><!– Event Meta –>
<div class=”tribe-events-event-meta vcard”>
<div class=”author “><!– Schedule & Recurrence Details –>
<div class=”updated published time-details”>
<span class=”date-start dtstart”>May 20 @ 1:55 pm<span class=”value-title” title=”2015-05-20PDT01:55″></span></span> </div></div>
</div><!– .tribe-events-event-meta –><!– Event Image –>
<!– Event Content –>
<div class=”tribe-events-list-event-description tribe-events-content description entry-summary”>
<p>Find Events Event Views Navigation View As List Month Map Events From Search Near Upcoming Events Events List Navigation June 2015 Board Meeting June 15 @ 12:00 pm – 1:30 pm Musee D’Orsay, 1 Rue de la Légion d'Honneur, Paris, 75007 France I have traced the Rebel spies to her. Now she is my only […]</p>
Find out more »
</div><!– .tribe-events-list-event-description –>
</div><!– .hentry .vevent –></div><!– .tribe-events-loop –>
<!– List Footer –>
<div id=”tribe-events-footer”><!– Footer Navigation –>
<h3 class=”tribe-events-visuallyhidden”>Events List Navigation</h3>
<ul class=”tribe-events-sub-nav”>
<!– Left Navigation –><!– Right Navigation –>
</div>
<!– #tribe-events-footer –>
+ Export Listed Events
</div><!– #tribe-events-content –><div class=”tribe-clear”></div>
<div class=”tribe-events-after-html”></div> <script type=’text/javascript’>
/* <![CDATA[ */
var TribeList = {“ajaxurl”:”http:\/\/localhost\/axlive\/wp-admin\/admin-ajax.php”,”tribe_paged”:”0″};
/* ]]> */
</script>
<script type=’text/javascript’ src=’http://localhost/axlive/wp-content/plugins/the-events-calendar/resources/tribe-events-ajax-list.min.js?ver=3.9.3′></script>
</body>
</html>The list page still shows the page’s text inside the event: http://i.imgur.com/OvxI6LH.png
The calendar view with the same data and environment: http://i.imgur.com/NWPaHFi.pngMay 20, 2015 at 2:03 pm #964010Danielle
ParticipantIf you scroll down and see the code where the event is listed, you’ll see that it’s grabbing the copy from the plugin’s menu bar and putting it in the event text. It’s also grabbing each consecutive event and putting that copy inside the single event shown. It’s as if there’s an open tag or something.
May 21, 2015 at 6:09 am #964144Barry
MemberHi Danielle,
As covered in this other topic, please don’t post code directly into the forum – a service like Gist or Pastebin is much better 🙂
Also as requested in the other topic, if you stripped things down to a single minimal template to test this could you share the resulting source?
Given no one else is hitting this and it works perfectly with standard themes, I suspect the problem may be with the code in this one (custom?) theme and so we may not be able to provide too much further assistance, but if you can share the template source I’ll certainly take a look.
(If it is more complicated than that, ie things are still spread out over multiple individual templates, that may not be viable of course.)
May 22, 2015 at 10:43 am #964556Danielle
ParticipantI understand this is a theme issue. I’ve isolated the page down to a bare minimum to try and triage and the bug still happens. What I’m looking for help on is, “The only way that could happen is if ….”, or, “There are a few things you could try…”. It’s pretty apparent that the page copy is being duplicated in the_excerpt. I’d imagine that there are few instances where that can happen. I’m looking for help identifying that so I can try and fix this bug and use your product I paid for.
May 22, 2015 at 1:46 pm #964598Barry
MemberDefinitely – and we’re happy to help a little further if we can. As requested, can you share the minimal theme source (via Pastebin/Gist) needed in order to replicate this?
Thanks!
June 8, 2015 at 6:16 am #967765Barry
MemberHi!
It’s been a while so I’m going to go ahead and close this topic.
- Need help with anything else? Go right ahead and post a new topic, one of the team will be only too happy to help
- Still need help with this issue and need to re-open it? Again, please simply create a new topic and link to this one to provide the team with some context
Thanks!
-
AuthorPosts
- The topic ‘Strange Event Appearing on List Page’ is closed to new replies.
