Day view displaying random posts rather than calendar posts

Home Forums Calendar Products Events Calendar PRO Day view displaying random posts rather than calendar posts

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #67065
    Heather
    Participant

    The 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/.

    #67102
    Barry
    Member

    Hi 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?

    #67123
    Heather
    Participant

    Hi 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!

    #67133
    Barry
    Member

    OK, 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 back

    This should help to isolate whatever might be causing the conflict and we can then take things from there.

    Thanks!

    #67143
    Heather
    Participant

    Hi 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!

    #67235
    Barry
    Member

    Hi 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).

    #67345
    Heather
    Participant

    Hi 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/

    #67359
    Barry
    Member

    Thanks!

    And can you confirm if you have enabled day view?

    #67368
    Heather
    Participant

    That 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!

    #67371
    Barry
    Member

    It 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.

    #67493
    Heather
    Participant

    Hi 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!

    #67507
    Barry
    Member

    Hi 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'] ?>

    #67675
    Heather
    Participant

    Thanks, Barry! Got it working without the link. I really appreciate your help!

    #67746
    Barry
    Member

    Superb!

    #981022
    Support Droid
    Keymaster

    This 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.

Viewing 15 posts - 1 through 15 (of 15 total)
  • The topic ‘Day view displaying random posts rather than calendar posts’ is closed to new replies.