Week View date link causes URL error

Home Forums Calendar Products Events Calendar PRO Week View date link causes URL error

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #125918
    Lars
    Participant

    Clicking the top date in View Week will cause an URL error. I.e. “/events/2014-10-06/” causing 404 error. It turns out that unless “Day” is ticked on the “Enable event views” the URL will return 404 error. This is a bug.

    #126518
    Barry
    Member

    Hi Lars:

    I would have expected you to be taken to list view, if day view is not enabled – so I’m not sure why you are experiencing this. Can you point me to an example of this behaviour?

    Thanks!

    #126611
    visualfuture
    Participant

    This seems to be the place to start. I, too, am experiencing ‘404 issues.’ I think it would be good to add some of the tips from all threads to the FAQ page.

    Immediate issue:
    Need to remove the link to each ‘day’ in ‘week’ view.
    I have disabled ‘Day’ under Display Settings => Enable Event Views.

    But selecting the ‘Week’ display from the main calendar page or any ‘month’ page results in the individual day text (e.g. ‘Mon 24th’) becoming a link (e.g. /calendar/2014-03-24/) to a page that returns a 404.

    What change is needed to prevent the day text from becoming a link in the first place?

    Thank you.

    #126623
    Lars
    Participant

    @Barry could you just try unselecting “Day” the “Display Settings => Enable Event Views” and see what happens when you click one of the 7 week dates displaying at the top of Week View?

    #126625
    Lars
    Participant

    This reply is private.

    #126812
    Barry
    Member

    Hi visualfuture, please do feel free to monitor this thread but if you need any further advice that is specific to your own situation we’d ask you post in a separate thread of your own 🙂

    Selecting “Day” in the “Display Settings => Enable Event Views” makes it work. But we don’t want “Day” showing as an option in the “View As” toggle.

    Would removing the links from week view be viable for you?

    The basic approach (with reference to the Themer’s Guide for background) would be to override pro/week/loop-grid.php and change:

    " rel="bookmark"><?php tribe_events_week_get_the_day_display(); ?>

    To:

    <?php tribe_events_week_get_the_day_display(); ?>

    Does that work?

    #126814
    Barry
    Member

    (Sigh.)

    Looks like the forum isn’t playing too nicely with that code – I’ve tried to detail the same thing here, instead.

    #126848
    Lars
    Participant

    @Barry: That would obviously work as the whole link is removed – but this is not how it is intended to work – so will it be fixed with 3.5.2 ?

    #127459
    Barry
    Member

    Sure, that was just an effort to give you some relief in the interim – but yes this has been logged and we’ll make efforts to update this thread as and when we’ve got something more to report (such as when any fix might be released).

    Thanks for your patience in the meantime 🙂

    #127469
    Lars
    Participant

    Thank you!

    #128246
    Barry
    Member

    Going to close this for the time being – but as before we’ll do our best to post updates as and when we can – thanks!

    #173878
    Leah
    Member

    Hi there,

    I just wanted to update you here. We were not able to fix this issue in time for our upcoming release (3.6). However, it is still very much a priority and we hope to have it corrected in the next maintenance release. We will keep you posted on our progress. Thank you for your patience and support!

    Best,
    Leah

    #433765
    Leah
    Member

    Hi there,

    I just wanted to drop in and update you on the status of this issue. We are working on the upcoming 3.7 release and are happy to say that a fix for this issue will be included. Please keep an eye on your Updates and Plugins pages for an update prompt. If you have any trouble or continue to see this issue after updating, please start a new thread and we can assist you from there. Thank you for your patience while we worked on this issue.

    Best,
    Leah

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘Week View date link causes URL error’ is closed to new replies.