Home › Forums › Calendar Products › Events Calendar PRO › Month empty when using prev/next buttons – have to refresh
- This topic has 3 replies, 2 voices, and was last updated 10 years ago by
Nico.
-
AuthorPosts
-
April 21, 2016 at 2:32 am #1105266
Thomas
ParticipantHi there,
I know that there were some issues with the previous / next buttons , but I couldn’t find a thread on this particular “phenomenon”
When I go to the calendar (month view) and switch between months, I always have to refresh the page in order to see the events. Otherwise it’s all empty. Could this have sth with a jquery conflict?
(Firebug shows no errors)
First I thought this is because something we add to the month/single-event file , which checks the usergroup first before it creates the div, but even when we take it out, it’s still empty at first.Regards
ThomasApril 21, 2016 at 5:05 am #1105295Nico
MemberHowdy Thomas,
Welcome to our support forums and thanks for reaching out to us. I’ll help you solving this…
First of all, Can you please follow the steps described in our Testing for conflicts guide? This way we can see if this is a problem in our plugin or a conflict with the theme or other installed plugins.
Also please follow-up with the site URL where I can see this.
Please let me know about it,
Best,
NicoApril 24, 2016 at 2:30 am #1106381Thomas
ParticipantHi Nico,
i figured out what the problem is.
(after switching back to the default template and deactivating other plugins without luck)We have two kinds of events: public and special trainings.
So we used a plugin (UAM) to add access rights to the events and event categories.After adding public holidays as events recently, with no special access rights set,
I noticed that they appear immediately when switching between months. (without having to refresh)So the UAM plugin must not be working correctly with the dynamic reloadof the content.
We will deactivate the plugin and add check-functions to all the view-files where the events are linked
to check if the event is public or not before outputting the content.One “challenge” that remains, is that we still need some sort of hidden/unlisted link to the events or category lists for inviting group members that are not logged in but that’s another topic.
so feel free to close this thread.
thx & cheers(btw I entered the url and other information when creating this thread)
April 25, 2016 at 7:41 am #1106622Nico
MemberThanks for following-up Thomas! Glad to hear you could sort this out…
Another approach might be to exclude the category from the view. The code would be something similar to this snippet:
https://gist.github.com/jesseeproductions/4b215d2b854a6f6cb649
And then just show events if you are viewing a category page for example.
I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.
Best,
Nico -
AuthorPosts
- The topic ‘Month empty when using prev/next buttons – have to refresh’ is closed to new replies.
