Group widget events by date

Home Forums Calendar Products Events Calendar PRO Group widget events by date

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #132895
    filadelfia
    Participant

    Hi,
    Is there an easy way to group events by date in the Pro mini-calendar+widget?
    Currently, if you have multiple evens on the same date, each is shown with it’s own date.

    Regards
    Kristoffer

    #133250
    Barry
    Member

    So for instance if you have two events on July 15 you only want the date on the left hand side to display once? If so, definitely possible – and you’d probably want to set up a template override for the following template:

    pro/widgets/mini-calendar/single-event.php

    (You can get a full description of how to set up and work with template overrides in our Themer’s Guide.)

    In outline, you would probably use a variable to track the start date of the last event that was displayed and from there only display the date block if A) that variable had not yet been created or B) it was different from the date of the current event in the list.

    I hope that gives you a few ideas – and good luck 🙂

    #532782
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Group widget events by date’ is closed to new replies.