You need to be logged in to view a user's profile.
  1. mhpmhp
  2. JEvents 3.4 (Free Access)
  3. Friday, 18 February 2022
Hi Folks

We are building a new website with JEvents 3.6.21 and Joomla! 4.1 and the mod_jevents_latest on the right side:
http://server3.masterhomepage.ch/~ruderclub/

On allday-events the empty timeline produces a empty line due to an additional showed <br> tag on the 'time line' in the modules source code.

The format-string in modules configuration is:

<span class="icon-calendar"></span>${startDate(%d %b %Y)}
<span class="icon-time"></span>[!a: ${startDate(%H:%M)} - ${endDate(%H:%M)}]
<span class="icon-hand-right"></span>${title}

and that produces (time line on the second entry):
<span class="icon-time"></span><br>

How we can get rid of this additional <br> on allday events?

Thanks in advance for a hint
Regards
Roger
References
  1. http://server3.masterhomepage.ch/~ruderclub/
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Hello Roger,

JEvents Latest Events Module treads a return line as a <br/>. So either remove it, or edit the module config under the custom format string see:

Ignore Carriage Returns

Set to YES

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!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Tony
Thank you for your answer.
Yes, now is the 'ignore new lines' to yes. But I've had to replace some of the spans with div containers so that I have not all content on one row. Plus additional switched the 'Disable default CSS Date Field Style' option to 'yes'. The format string is now

<div class="entry">
<div class="entry_date">${startDate(%d %b %Y)}</div>
[!a: ${startDate(<div class="entry_time">%H:%M)} - ${endDate(%H:%M)}</div>]
<div class="entry_title">${title}</div>
</div>

And it looks perfect now. Again, thanks Tony, you've pushed me to the right direction :)

Cheers
Roger
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

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.