Home › Forums › Calendar Products › Events Calendar PRO › Display multi day Dates in list.php
- This topic has 6 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
January 3, 2012 at 9:03 am #12798
Andrew
MemberIn 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/MumcWpuSJanuary 3, 2012 at 9:04 am #12799Andrew
Memberto
January 3, 2012 at 9:06 am #12800Andrew
MemberOK, I guess I can’t paste code in this comment box?
Here is the code I tried to paste here
January 3, 2012 at 5:48 pm #12810Rob
MemberHey 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.
January 3, 2012 at 5:48 pm #12811Rob
MemberHey 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.
January 5, 2012 at 12:55 pm #12924Jonah
ParticipantHi 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
July 2, 2015 at 5:00 pm #975004Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘Display multi day Dates in list.php’ is closed to new replies.
