Widget dates not linking correctly
-
Working around I found out that dates picked up from the widget calendar are not working.
Demo: http://www.existoenlared.com/fepm/
In the other hand, as you can see, the event is already created, but I don’t know why it just does not get the correct link path.
Demo: http://www.existoenlared.com/fepm/?event=evento-prueba-3
Any clue?
Thank you in advance!
-
Hi Sivo,
Yes, this is a known issue. The calendar links to a date rather than event (unless you choose otherwise in the widget settings!). However, if the date being linked is in the past, and you have opted not to include past events (in Event Organiser > Settings) then the page shows no results.
The ticket, with a potential fix is given here: https://github.com/stephenharris/Event-Organiser/issues/30.
But from what you’re saying, and given that each day seems to only have one event, I would suggest you select the widget option which means the calendar links straight to the event, rather than events on that day.
Solved the first part.
Now the issue is that posts from widget links to the following url:
http://www.existoenlared.com/fepm/?post_type=event&ondate=2014-05-31
While the ones from the list links to this path:
http://www.existoenlared.com/fepm/?event=evento-prueba-3
The problem? Seems like the page breaks (styling). So I don’t know if it could be linked on the same path or whatever.
Thanks for your time Stpehen, I really appreciate it.
The calendar links to a date rather than event (unless you choose otherwise in the widget settings!
How could I modify the following error? Since I just used a shortcode, and did not modify any settings on widget section.
I’m afraid the shortcode calendar doesn’t offer the option – this will be addressed in 2.6. So for the time being, the only ‘fix’ is the one attached to the above ticket.
So I just could not modify the path from
post_type=event&ondatetoevent=in some other way? Since adding the ‘fix’ you propose keeps displaying the future and the past events from the widget in the wrong way.You mean the “events on date X” page isn’t displaying correctly? That’ll be the case if the default templates don’t work with the theme (one size doesn’t fit all š ). You can edit the templates (in your case archive-event.php) to better fit your theme and use-case.
Indeed that’s exactly what I mean, but the problem comes when the event (linked from the calendar widget) does not have the same content (maps, upvote section, etc) like the one from the list of events.
Just wondering if there was any clue. By the way, few posts above you mentioned something about shortcode calendar options in the new release of 2.6. Is not updated to 2.7.5? Sorry for my ignorance but I felt lost after that comment.
Thanks again!
Yup, I think that got forgotten about :/. So I’m making it priority for 2.8: https://github.com/stephenharris/Event-Organiser/issues/189
Well, you and your fast reply rocks. Any way to upvote you somewhere or any kind of donation page?
Keep in touch for the new release!
Pro version saved on bookmarks. Also donation page so soon you’ll recieve a little gift š
Cheers!
[Moderator Note: No bumping, thank you.]
The topic ‘Widget dates not linking correctly’ is closed to new replies.