Hide Empty Days from This_week

Home Forums Calendar Products Events Calendar PRO Hide Empty Days from This_week

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1098480
    Brian
    Participant

    First time posting because my search-fu has failed. =)

    I need to hide empty days (days with no events) from the “This Week” or list widgets.

    I sort of expected that this would have been default behavior or at least an option, but looks like I’ll have to dig into the php. Before I do that, I want to make sure I’m not missing something obvious, and hopeful that if I do need to tackle the php, someone has done this before and can speed me along by pointing me in the right direction so I don’t waste time trial and error. (And trust me, when I have to go into the code, there’s plenty of error…=D )

    Thanks!

    B

    #1098735
    Brian
    Member

    Hi,

    Thanks for using our plugins. I can help out.

    Unfortunately, the This Week widget does not have an option to hide empty days. Only the weekends. It was designed to show an entire week so adding a feature to hide empty days was not part of the plan.

    I would suggest looking at the template files and moving them to your theme following our themer’s guide:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    The files are located here:

    events-calendar-pro/src/views/pro/widgets/

    You might be able to detect the empty day there and then not display that day.

    The css is designed to show all 5 days or 7 days so it will have to be modified.

    I can try to help answer some more questions, but limited in providing much support beyond this.

    Thanks

    #1104926
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Hide Empty Days from This_week’ is closed to new replies.