By Guest on Wednesday, 05 July 2017
Replies 4
Likes 2
Views 1.1K
Votes 0
Hi,
On this module I have an event that starts -
From Friday 07 July 2017 - 08:00am
To Sunday 09 July 2017 - 05:00pm

However on the module it is displayed like this -
07 Jul 2017;
08:00AM - 05:00PM
Event
07 Jul 2017;
08:00AM - 05:00PM
Event
07 Jul 2017;
08:00AM - 05:00PM
Event

How can I change it so it is displayed showing the start time and date and the end time and date, something like this -
07 Jul 2017 08:00am - 09 Jul 2017 05.00pm Event
Many thanks in advance

<mod_events_latest_content style="font-size:13pt;">${title}</mod_events_latest_content>
${startDate(%a. %d. %b. %Y)}[!a:, ${startDate(%H:%M)}][m: -<br>${endDate(%a. %d. %b. %Y)}][!e:, ${endDate(%H:%M)}]


Would be smarter to put this in a .css file or custom css of jevents, but this keeps all together for the module
·
Wednesday, 05 July 2017 20:44
·
2 Likes
·
0 Votes
·
0 Comments
·
You can try and modify this code for your needs:

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

will show as:
---
Event
Mi. 05. Jul. 2017, 19:00 -
Fr. 07. Jul. 2017, 22:00
---

Best regards, Macjoomla
·
Wednesday, 05 July 2017 16:05
·
2 Likes
·
0 Votes
·
0 Comments
·
brilliant thank you!!
Now another one, how do I change the title font size. Firebug dosen't seem to give me anything
Thanks and sorry for being annoying
·
Wednesday, 05 July 2017 19:51
·
2 Likes
·
0 Votes
·
0 Comments
·
Perfect! thank you very much!
·
Thursday, 06 July 2017 09:44
·
2 Likes
·
0 Votes
·
0 Comments
·
View Full Post