Display multi day Dates in list.php

Home Forums Calendar Products Events Calendar PRO Display multi day Dates in list.php

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #12798
    Andrew
    Member

    In the list view of my Events, I would like all day events with single date to display by default, but how do I set it up so that if the event is a multi day event it will show the start date and the end date. For example, an event on January 5, 2012 should display that date as such, but if an event was January 7, 2012 to January 10, 2012, what is the code I need for that.

    I used this code, but it now displays the single date and the multi day date on all event with multi dates.
    Here is my code:
    http://pastebin.com/MumcWpuS

    #12799
    Andrew
    Member

    to

    #12800
    Andrew
    Member

    OK, I guess I can’t paste code in this comment box?

    Here is the code I tried to paste here

    http://pastebin.com/MumcWpuS

    #12810
    Rob
    Member

    Hey Andrew. Sorry about the code pasting inconvenience; we’re going to change that sometime during Q1 as we ramp up features here in the forum. In the interim pastebin or pastie is definitely the best solution.

    Regarding your issue: this is a bit outside my area of expertise, but I believe our developer Jonah might be able to guide you. I’ve sent this his way so he can give it a once-over when he hits the forums next tomorrow morning.

    #12811
    Rob
    Member

    Hey Andrew. Sorry about the code pasting inconvenience; we’re going to change that sometime during Q1 as we ramp up features here in the forum. In the interim pastebin or pastie is definitely the best solution.

    Regarding your issue: this is a bit outside my area of expertise, but I believe our developer Jonah might be able to guide you. I’ve sent this his way so he can give it a once-over when he hits the forums next tomorrow morning.

    #12924
    Jonah
    Participant

    Hi Andrew, the code for this functionality should already be in place in list.php – starting at line 49, this is what you should see: http://pastebin.com/414EXh0u

    So if the event is a multiday event, it will display the start and end dates, else it will just display the start date. That’s what you want right? Or am I misunderstanding you?

    – Jonah

    #975004
    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 ‘Display multi day Dates in list.php’ is closed to new replies.