• Resolved kingofmycastle

    (@kingofmycastle)


    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.

    https://www.ads-software.com/extend/plugins/the-events-calendar/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kingofmycastle

    (@kingofmycastle)

    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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: The Events Calendar] Showing next months events in a mini-calendar. Almost possible. Any he’ is closed to new replies.