Viewing 3 replies - 16 through 18 (of 18 total)
  • My app folder is much different. One modulo function and finally 3 lines of code. You got the food, please chew yourself… ??

    Thread Starter sg1_anhell

    (@sg1_anhell)

    Ok, I’ll keep trying, anyway thank you very much for all the help provided is greatly appreciated ??

    Greetings!

    Thread Starter sg1_anhell

    (@sg1_anhell)

    I Try again and.. works!!! ?? thank you very much!

    The key is this comment:

    P.S. Just put the code of the helper function modulo outside the class definition, i.e. at the top of class-ai1ec-calendar-helper.php, such that all other functions can use it.

    Then it’s just a simple code line at the locations mentioned allreday:

    app/controller/class-ai1ec-calendar-controller.php:
    $timestamp-=modulo($timestamp,(24*60*60));

    app/helper/class-ai1ec-calendar-helper.php:
    $now-=modulo($now,(24*60*60));

    app/view/class-ai1ec-agenda-widget.php:
    $timestamp-=modulo($timestamp,(24*60*60));

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] Today's events are not displayed’ is closed to new replies.