Group events by Date

Home Forums Calendar Products Events Calendar PRO Group events by Date

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #28787
    Tali
    Participant

    I was looking for a solution in the forums and found this post by Darius (Dated Nov. 25th):

    My list tends to have multiple events per day (sometimes as many as 20) and what I’d like to do is output the events such that the list shows events grouped by date, using just the title, time and location… for example,

    Monday November 26, 2012
    Event 1: 3PM @ Location 1
    Event 2: 3PM @ Location 2
    Event 3: 3PM @ Location 3

    Tuesday, November 27, 2012
    Event 1: 3PM @ Location 1
    Event 2: 3PM @ Location 2
    Event 3: 3PM @ Location 3

    I’m pretty sure I know how to edit the list.php to show just the title, location, and time, but is it possible to group the events by date instead of having the date above each event?

    I’m trying to accomplish the exact same thing only I apparently have none of Darius’ know how. He figured it out on his own, and you guys closed the thread, but I’m hoping you can help me with this!

    #28823
    Barry
    Member

    Hi Tali: please take a look at our tutorial on template overrides first of all – what you would need to do here is modify the list.php template. In this instance, it would mostly be a matter of removing some of the existing markup – this might form a starting point for you:

    http://pastebin.com/UPNvnaSp

    #29025
    Tali
    Participant

    Hi Barry,
    That mostly worked…there’s just a simple cosmetic issue I should address:
    The title of the first event of each day is a different color from the rest of the events of that day. I could probably figure it out but it will honestly take me upwards of two hours. Could you point me in the right direction?

    Here’s the link the my event list page: upcoming

    1.

    #29035
    Barry
    Member

    I’m not sure I can see the problem – did you resolve this already/can you be more specific?

    #29109
    Tali
    Participant

    Sorry, I sorted it out and forgot to update my post. Thanks!

    #29117
    Barry
    Member

    No problem, glad it’s working for you.

    #978291
    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 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Group events by Date’ is closed to new replies.