Wednesday, 14 March 2018
  3 Replies
  1.3K Visits
0
Votes
Undo
I want to remove the dash after start-date in the years-list of the component like it is possible in module by the "Condition on events with no specified end time" (https://www.jevents.net/frequently-asked-questions/custom-format-strings).

+++++++++
Conditional Fields

There is limited support for conditional output in the format string. The module supports 3 different conditional flags:

a = Condition on all day events
e = Condition on events with no specified end time
m = Condition on events multi day events

You would use [a: xxxxxxxx] to output xxxxxxxx when the condition is true or [!a: yyyy] to output yyyy when the condition is not true.
+++++++++++

How can I use this in the components list?
Friday, 16 March 2018 07:04
·
#198972
0
Votes
Undo
Hello,

For that you can't you would need to use the hashing so:

{enddate:enddate}

would for example become:

{enddate:enddate# - %s#}

%s is the value of the field if the field has a value.

Any thing after the last has is displayed when there is no value.

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!

Friday, 16 March 2018 14:20
·
#199011
0
Votes
Undo
Thank you, Tony,

this helped! Now I formated this way:

<p>{{Startdatum:STARTDATE}}{{Startzeit:STARTTIME#, %s#}} {{Endzeit:ENDTIME# - #}} {{Enddatum des mehrtägigen Events:MULTIENDDATE# - #}} {{Enddatum des mehrtägigen Events:MULTIENDDATE#%s,#}} {{Endzeit:ENDTIME}}<br /><em style="color: {{farbe eventhintergund:colour}};">{{Category:CATEGORY}}:</em> {{Title Link:TITLE_LINK}}<em><br /></em></p>

which handels also Multi-Day-Events!

Is there a documentation about hashs?
Monday, 19 March 2018 14:02
·
#199076
0
Votes
Undo

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.