HOW TO REMOVE CERTAIN DAYS

Home Forums Calendar Products Events Calendar PRO HOW TO REMOVE CERTAIN DAYS

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26205
    Jeroen
    Member

    Hi im looking for a way to never show fridays, saturdays and sundays, as we never have any events on these days.
    Secondly i have found a way to show full-width for a single event, by adapting the ecp_single_template, but haven’t been able to realize the same thing for my calendar view,… any ideas?

    #26239
    Barry
    Member

    Hi Jeroen, I guess you are talking about the grid or month view?

    If so, you wound need to set up a template override and customize your table.php template.

    You’ll see that there are various loops in this template that iterate through the days of the week to build up the calendar – you’d basically need to introduce some code that skips those days you wish to exclude.

    PHP’s continue keyword could be useful here.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘HOW TO REMOVE CERTAIN DAYS’ is closed to new replies.