By 5design5 on Sunday, 09 August 2015
Replies 6
Likes 0
Views 3.1K
Votes 0
In the JEvents component when adding events, some of the events only have a date, no time, so I've chosen the option for "all day event or unspecified time" when creating the event for the main calendar, and it displays fine, with no time.

But in the Latest Events module which populates from those events I've created, the time shows up as "@12:00" no matter what I do. I've tried to customize the format string like your site suggests here (jevents.net/frequently-asked-questions/custom-format-strings), but the time still displays. I only want it to display the event as I have it displayed in the main calendar - with no time if I've specified no time. Is there a setting or customization I'm missing? Right now it's : ${eventDate}<br/>${title}

Thank you.
Did you use the conditional display options for all day events?

Which version of JEvents do you have?
·
Sunday, 09 August 2015 09:53
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm using JEvents version 3.2.12

And I'm not sure if I used conditional display for all day events - how would I be able to tell? I guess I'm not sure what that is? I've tried customizing using the configuration option in the control panel of the component and choosing the "module config" to customize, AND I've also tried switching to controlling it via the module itself and customizing from there, but both have the same result.
·
Monday, 10 August 2015 06:12
·
0 Likes
·
0 Votes
·
0 Comments
·
try using:


${startDate(%A %B %e)}[!a:, ${startDate(%l:%M %p)} - ${endDate(%l:%M %p)}][a: - All Day]


As your custom format string date on your Latest events module.

Thanks
Tony
·
Monday, 10 August 2015 09:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks! That almost worked - it takes away the time, but also takes away the name of the event the date is shown for. Plus, the event isn't necessarily "all day", I just want it to not show any time, as it's an unspecified time. It just shows up as:

Thursday August 20 - All Day
Friday August 21 - All Day
Friday August 28 - All Day
Friday August 28 - All Day

When it should be :

Name of Event (before or after)
Thursday August 20 (no time, or "all day")
Name of Event
Friday August 21
Name of event
Friday August 28
and so on....
·
Monday, 17 August 2015 21:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Nevermind, I messed around with it, and I got it working, thank you so much! Here si what I ended up adding:
${startDate(%A %B %e)}[!a:, ${startDate(%l:%M %p)} - ${endDate(%l:%M %p)}][a: ]<br/>${title}
·
Monday, 17 August 2015 21:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Ahh great to hear! :-)
·
Monday, 17 August 2015 22:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post