Brian Walters

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Extending tribe-events-week.js? #1348639
    Brian Walters
    Participant

    Thanks Andras. I thought that might be the only option. Could you suggest the best way to “dequeue” that JS file? Editing the JS file is the easier part, IMHO. 🙂

    in reply to: Changing Week View to 15 minute Interval #1348273
    Brian Walters
    Participant

    The maintenance release didn’t help with my overlap problem. I started a new thread that better explains the problem.
    https://theeventscalendar.com/support/forums/topic/extending-tribe-events-week-js/

    in reply to: Changing Week View to 15 minute Interval #1347661
    Brian Walters
    Participant

    Thanks Nico, I’ll check that out, it might help.

    The only reason I’m having overlap is because the grid is 30 minute increments and I have events starting/ending in :15 and :45 of the hour.

    I was also having problems with limiting the hours on the calendar until I figured out how the add_filter works…. thought I’d share my code for that just in case anyone hasn’t figured out what to add to their function.php file

    // Limit the Calendar hours to 5 - 20, instead of 0 - 23
    function limit_calendar_hours($hours) {
      foreach ($hours as $hour => $formatted) {
            if (4 < $hour and $hour < 21) {
                    $limited_hours[$hour]=$formatted;
            }
      }
      return $limited_hours;
    }
    add_filter('tribe_events_week_get_hours', 'limit_calendar_hours');
    • This reply was modified 6 years, 7 months ago by Brian Walters.
    in reply to: Changing Week View to 15 minute Interval #1338482
    Brian Walters
    Participant

    Thanks Jennifer for letting me know about the internal ticket. That is helpful.

    I have to say the “support” otherwise isn’t much. I’ve reviewed the Themer’s guide as well as the Functions list. Both don’t seem to actually give much information. In fact I found more info, faster with ‘grep -R’ from the command line. None the less, it’s my fault for not reading the “What support is provided for license holders?” page before purchasing. At least the plugin code is visible and extendable.

    I look forward to the overlap fix. Thank you

Viewing 4 posts - 1 through 4 (of 4 total)