Home › Forums › Calendar Products › Events Calendar PRO › Day view displaying random posts rather than calendar posts
- This topic has 14 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
September 20, 2013 at 1:18 pm #67065
Heather
ParticipantThe posts that are displayed on the day view are random posts, rather than calendar posts. Check it out at http://serendipity.eidigitaldev.com/events-calendar/2013-09-27/.
September 20, 2013 at 4:30 pm #67102Barry
MemberHi Heather – I’m not sure what the cause of this would be, but before we go any further can you check if you have enabled inclusion of events in the main blog loop? If so, does disabling that resolve this?
September 20, 2013 at 10:16 pm #67123Heather
ParticipantHi Barry —
I do not have inclusion of events in the main blog loop enabled. It’s weird, right? I did re-save permalinks to see if that could possibly be the problem, but that did not help.
Thank you for your help!September 21, 2013 at 6:35 am #67133Barry
MemberOK, if possible let’s try our basic troubleshooting steps:
* Please ensure all of your Modern Tribe plugins are up-to-date
* Deactivate all other plugins
* Switch to a default, unmodified theme such as Twenty Twelve
* Now test to see if the same thing occurs
* If it does not, reactivate everything else one-at-a-time until the problem recurs (though it may not) and take note of whatever you reactivated just before the problem came backThis should help to isolate whatever might be causing the conflict and we can then take things from there.
Thanks!
September 21, 2013 at 11:46 am #67143Heather
ParticipantHi Barry – I have done all the steps that you asked:
– Events Calendar version = 3.0.3
– Events Calendar Pro version = 3.0.5
– Deactivated all plug-ins except the two Events Calendar plug-ins
– Switched to theme TwentyTwelve
Now, when I test, I get the following page that says it cannot find posts:
http://serendipity.eidigitaldev.com/events-calendar/2013-09-28/Thanks for your help!
September 23, 2013 at 6:48 am #67235Barry
MemberHi Heather: what slug are you using for the main events page? I do see a page at /events/ but this seems to be an empty placeholder (if your main events page is also set to use that slug that is probably going to cause a problem).
September 23, 2013 at 2:14 pm #67345Heather
ParticipantHi Barry —
The slug is:
Events URL slug
The slug used for building the events URL.Your current events URL is: http://serendipity.eidigitaldev.com/events-calendar/
Single event URL slug
The above should ideally be plural, and this singular.
Your single event URL is: http://serendipity.eidigitaldev.com/event-calendar/single-post-name/September 23, 2013 at 3:14 pm #67359Barry
MemberThanks!
And can you confirm if you have enabled day view?
September 23, 2013 at 3:31 pm #67368Heather
ParticipantThat is the problem! The only view I have enabled is month view. So if I enable Day view, then it goes to the day view correctly. So, isn’t this a bug, then? Because if day view is disabled, then shouldn’t the click-through to day view also be disabled so we don’t get this random display of posts?
Thanks!
September 23, 2013 at 3:36 pm #67371Barry
MemberIt is, and we have this on our issue tracker so it ought to be resolved in one of the next few maintenance releases.
In the meantime the easiest solution is to keep it enabled – if that’s not possible or not desirable and you are comfortable tweaking templates you could alternatively stop day view links from being generated altogether.
September 24, 2013 at 8:56 am #67493Heather
ParticipantHi Barry —
I am actually still having the problem, but it is now related to the theme. I am using Woo Themes: Canvas, and even with Day View enabled, it still takes me to a page with all the random posts. It does NOT do this when I have the theme TwentyTwelve enabled. Can you give me the code changes that I need to make to take out the link to the Day View from the Month View so I can eliminate the problem?
Thanks!September 24, 2013 at 9:27 am #67507Barry
MemberHi Heather – please do familiarize yourself with the Themer’s Guide first of all – basically though you would override month/single-day.php and find this line:
<a href="<?php echo tribe_get_day_link($day['date']) ?>"><?php echo $day['daynum'] ?></a>Then change it to:
<?php echo $day['daynum'] ?>September 25, 2013 at 9:00 am #67675Heather
ParticipantThanks, Barry! Got it working without the link. I really appreciate your help!
September 25, 2013 at 4:08 pm #67746Barry
MemberSuperb!
July 7, 2015 at 6:28 am #981022Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Day view displaying random posts rather than calendar posts’ is closed to new replies.
