WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Showing next months events in a mini-calendar. Almost possible. Any he (3 posts)

  1. kingofmycastle
    Member
    Posted 2 years ago #

    Hi, I'm hoping to show not only this months mini calendar in my sidebar but also next months too. I've changed some of the code but my OOP skills are lacking. Can anybody help me with this?

    To get an additonal calendar you just have to edit the table-mini.php file in /views/ and copy everything from line 11 ($tribe_ecp = TribeEvents::instance();) to line 82 (closing table div) and duplicate it after line 82.

    But I don't know how to knock this table a month forward.

    In Pseudo code it would be:

    $tribe_ecp = TribeEvents::instance();
    set $tribe_ecp->date to MONTH AFTER CURRENT MONTH
    continue....

    Any ideas how to do this?

    Thanks in advance.

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. kingofmycastle
    Member
    Posted 2 years ago #

    Just in case anybody has the same idea, don't bother. It's impossible to show next month's calendar by changing the date variable.

  3. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 2 years ago #

    Hey dude, you're correct that this is currently not possible. This feature will be added somewhere in the plugin's 2.1 lifecycle, though. Sorry I couldn't offer up more in the short-term.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic