Wednesday, 10 January 2018
  9 Replies
  797 Visits
0
Votes
Undo
i actually have two questions. one, how can i just show the date (not the day) and, how do i only show the date once for non repeating events? currently the code below works great for multi day events. but shows the same day twice on single day events. please advise. screenshot attached.

${startDate(%A %B %e)}, ${endDate(%A %B %e)}
Support Info
Development
Thursday, 11 January 2018 09:34
·
#196525
0
Votes
Undo
Hello,

Did you see:

https://www.jevents.net/frequently-asked-questions/custom-format-strings

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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Thursday, 11 January 2018 13:21
·
#196533
0
Votes
Undo
Hi TonyP,

Yes, I did see that link and tried the option you mentioned. that does not give me the muliti day events.(jan 23 - jan 25). it just gives the start date and time again. so i have the time twice. I just need the date range which the code i'm using does.

${startDate(%A %B %e)}, ${endDate(%A %B %e)}

however, for singe day events, i get the date twice. (see screenshot from previous post). new screenshot attached showing the method you sent...
Saturday, 13 January 2018 13:45
·
#196581
0
Votes
Undo
So as per the conditional fields of that article linked did you try using the m condition?

${startDate(%A %B %e)}, ${endDate(%A %B %e)}

to

${startDate(%A %B %e)}, [m:, ${endDate(%A %B %e)}]

That should only show the end DATE on multiday events.

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Saturday, 13 January 2018 14:01
·
#196583
0
Votes
Undo
so that fixes the dates. thanks. however, now the formatting is off. screenshot attached. please advise.
Tuesday, 16 January 2018 11:40
·
#196624
0
Votes
Undo
Hello,

Did you resolve your issue? Looking good here?

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Tuesday, 16 January 2018 12:35
·
#196627
0
Votes
Undo
Hi Tony, no, not resolved. the dates are now right but the formatting of the events is now wrong. line wraps and such. I attached a screenshot to my previous post.
Wednesday, 17 January 2018 10:47
·
#196651
0
Votes
Undo
I can't see that? But it looks like an issue with your template and line-height. Is that on a different page to what you showed?

What browser are you using?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

Wednesday, 17 January 2018 12:09
·
#196657
0
Votes
Undo
page is here. https://eventmanagersllc.com/
all browsers have exact same issue. chrome, firefox, edge, IE
Thursday, 18 January 2018 15:45
·
#196714
0
Votes
Undo
The issue is the span tags you are using. You have put the code inside the icons which is wrong i.e.:

<span class="icon-calendar">Monday January 29</span>

should be:

<span class="icon-calendar"></span> Monday January 29

Many thanks
Tony

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.