Home › Forums › Calendar Products › Events Calendar PRO › Mini Events Calendar Widget does not link to events anymore
- This topic has 5 replies, 2 voices, and was last updated 11 years, 6 months ago by
Brian.
-
AuthorPosts
-
September 28, 2014 at 7:12 am #773098
nilskau
ParticipantI am using two events calendar pro mini calendar widgets. One on home and one in the sidebar. Both widgets are set to 0 events, so they should link directly to the events pages when they have an event on a particular day.
Both were working fine, now they stopped working for any apparent reason. They do not link to the event anymore, instead just a “javascript:void(0)” is returned.
I have tested theme & plugin conflicts. Even with default theme activated and every other plugin turned off, it still does not work. Also, I have searched the forum and did not find an answer.
Please check it here: http://hp.nilskauwertz.com and for sidebar here: http://hp.nilskauwertz.com/adestramento/julia-parente-e-bicampea-brasileira-de-amazonas-e-tais-arruda-5a-amazonas-top/
Thanks!
September 29, 2014 at 8:54 am #775870Brian
MemberHi,
Thanks for using our plugins and sorry for the issues with the calendar not linking too event anymore.
I went to your thinks and saw the issue. I also did a test on my site and it did not reproduce the issue.
Thank you also for testing for conflicts and reporting the results.
Can you answer the following for me and we can go from there:
Do you have any customizations in your theme?
Have you tried deleting the widgets and add new widgets in their place and see if that fixes the issue.
Also I noticed you are using W3 Super Cache, can you try clearing the entire cache after setting up new widgets and please check the script minify settings if you have them active to verify you have the latest scripts in there.
Let me know what you find out from that and we can go from there.
Thanks
September 30, 2014 at 6:38 am #778063nilskau
ParticipantThanks Brian,
I have tried it, deleting the widgets and replacing them, then emptying all caches in W3 and my browser cache also. No change.The calendar with more than 0 events get’s displayed normally. Only 0 events has this problem of not linking to event. Had my developer look at it, he couldn’t figure it out.
There were only some CSS changes made to the theme.
Thanks
September 30, 2014 at 7:51 am #778219Brian
MemberOk thanks for changing the widgets and clearing the caches.
I looked through our coding and it looks like that link is intentional.
I found this note there:
day view is disabled, just show that there are events on the day but don’t link anywhere
That then shows javascript:void(0) in the link.
If you go to Events->Settings->Display Tab and check Day in the field:
Enable event views
Then that should fix the issue. Since this is part of the coding it looks like if you would like to have a calendar with 0 Events then you will need to activate the day view.
There is this filter:
tribe_events_the_mini_calendar_day_link
That you could use to modify the link if you do not want to use Day View.
And the coding for the Widget is found here: events-calendar-pro\public\template-tags\widgets.php
Let me know if activating Day View fixes the issue for you.
Thanks
October 3, 2014 at 5:52 am #784874nilskau
ParticipantThanks a lot! That certainly solved my problem!
October 3, 2014 at 6:30 am #784931Brian
MemberGreat, glad it helps, I am going to go ahead and close this ticket, but if you need any other on something else please post a new ticket.
Thanks!
-
AuthorPosts
- The topic ‘Mini Events Calendar Widget does not link to events anymore’ is closed to new replies.
