Calendar Month View Expansion
-
Hello,
In the normal calendar month view, is it possible to give an option to expand the calendar square down when there is more than 3 events posted?
Thanks,
Vic
-
Also when someone clicks inside a box for the normal calendar month view, it takes them to the next day’s list view instead of the one they clicked on.
I’ve search for some way to change the value at
Tribe_Events_Month_Template::$posts_per_page_limitand haven’t found a good way to do it yet.Hopefully, I’m just missing some filter or option somewhere?
Hey Wraith thanks for the hint š
The other issue is when someone clicks on the white space or the date (click anywhere except for the event), it goes to calendar list view for the next day & gives a ‘no previous posts’ message for the current date.
Any suggestions with that would be greatly appreciated.
Did that hint help? For now I just edited the plugin file. I’m thinking that
Tribe_Events_Month_Template::$posts_per_page_limit = 300;or something in the theme file might help, but I haven’t tried it. I’m hoping the developer comes on and gives us a better way to do it (like a filter or something).I haven’t had the second problem myself. When I click the calendar day’s whitespace, I get the Day view of the correct day, but that’s because I also have the Pro addon installed (which enables the Day view).
Diving into the code, It’d take me a really long time to learn where the code branches, so I’ll leave that to the developers who are more familiar with it. Sorry I couldn’t help with that.
Yes that did work. The default for Tribe_Events_Month_Template::$posts_per_page_limit is 3 … so changing that number works perfectly.
Where you put this line
Tribe_Events_Month_Template::$posts_per_page_limit=300 ??I changed the line in the plugin itself, but that’s very very bad (don’t do that).
You can put it in your theme’s functions.php or write a plugin for it.
its the only solution?, i want to show more than 3 events in the calendar
It’s the only one I know of.
The best solution is to make a separate plugin to change that variable. Hook into an action that is late enough (like ‘plugins_loaded’) so that Event Calendar is loaded first.
Note that while editing the Plugin itself is bad, creating a separate plugin to add that code is quite safe.
I dont know how to do that
Hi all,
As mentioned in our sticky thread (http://m.tri.be/10), we unfortunately are unable to help with with customization, styling or integration issues not caused by bugs with The Events Calendar. You have a few options:
1. Check out our extensive support resources and try to figure it out on your own: http://m.tri.be/z & http://m.tri.be/5b
2. Hire a developer to assist you. We’ve got a list of freelancers who know our code and who we can vouch for. Email us (pro at tri.be) and we’ll pass that list your way.
3. Purchase a Pro license to get more support: http://m.tri.be/11. As mentioned in the sticky thread, we can provide both a deeper and more frequent level of support for PRO users.I hope that helps and good luck!
Cheers,
– JonahNo worries… all of the above issues have been addressed in the latest plugin update & there is a number box option for the calendar to show more that 3 events… no coding necessary.
Thanks guys,
Vic
The topic ‘Calendar Month View Expansion’ is closed to new replies.