Home › Forums › Calendar Products › Events Calendar PRO › Week View date link causes URL error
- This topic has 12 replies, 4 voices, and was last updated 11 years, 9 months ago by
Leah.
-
AuthorPosts
-
April 1, 2014 at 1:08 am #125918
Lars
ParticipantClicking 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.
April 1, 2014 at 3:59 pm #126518Barry
MemberHi 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!
April 1, 2014 at 9:28 pm #126611visualfuture
ParticipantThis 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.
April 1, 2014 at 11:14 pm #126623Lars
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?
April 1, 2014 at 11:19 pm #126625Lars
ParticipantThis reply is private.
April 2, 2014 at 7:22 am #126812Barry
MemberHi 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?
April 2, 2014 at 7:24 am #126814Barry
Member(Sigh.)
Looks like the forum isn’t playing too nicely with that code – I’ve tried to detail the same thing here, instead.
April 2, 2014 at 7:48 am #126848Lars
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 ?
April 3, 2014 at 8:08 am #127459Barry
MemberSure, 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 🙂
April 3, 2014 at 8:16 am #127469Lars
ParticipantThank you!
April 4, 2014 at 1:31 pm #128246Barry
MemberGoing to close this for the time being – but as before we’ll do our best to post updates as and when we can – thanks!
May 24, 2014 at 1:33 pm #173878Leah
MemberHi 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,
LeahJuly 17, 2014 at 5:14 pm #433765Leah
MemberHi 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 -
AuthorPosts
- The topic ‘Week View date link causes URL error’ is closed to new replies.
