By Guest on Wednesday, 16 August 2017
Replies 4
Likes 0
Views 2.2K
Votes 0
Hi,

We are using custom layout for displaying events. http://gdi.stagesoho.com/index.php/en-us/events
We are displaying time as :
Date: {{Start Date:STARTDATE}} to {{End Date:ENDDATE}}

But some of our events are all day, and for these start and end time in empty.
How can we fix it? Which variable to select? so when Event have time, it will display: time, and if event is all day - it will display: all date event

Please advise,
Sandra
Hello Sandra,

So you need to use MultiEnd date from the dropdown.

Many thanks
Tony
·
Thursday, 17 August 2017 08:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,

When I select {{Multiday Event End Date:MULTIENDDATE}} it shows me event end date. But i need to display time. (All day event time.)

Is it possible?

Please advise,
Sandra
·
Thursday, 17 August 2017 23:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sandra,

you can try this code and look how it is working for you:

${startDate(%a. %d. %b. %Y)}[!a:, ${startDate(%H:%M)}][m: -<br>${endDate(%a. %d. %b. %Y)}]
${title}

Best regards, Macjoomla
·
Friday, 18 August 2017 08:59
·
0 Likes
·
0 Votes
·
0 Comments
·
So use:

{{Multiday Event End Date:MULTIENDDATE}} {{End Time:ENDTIME}}

Noting @dpsg.hh comment is only for the latest events module.

Many thanks
Tony
·
Friday, 18 August 2017 14:01
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post