Monday, 25 May 2020
  2 Replies
  587 Visits
0
Votes
Undo
I have the module for showing the latest events.
Now I would like that if there is no information about the location it will not be shown.

As it is, it will be a long list of empty spaces and I don't want that.

<b> $ {eventDate (% A% d% B% Y)} [! a: $ {eventDate (% H:% M)} $ {endDate (-% H:% M)}] </b> < br> $ {title}
<br> $ {content}
<br> $ {location}
<br> $ {contact}
<br> $ {extraInfo}

if I have not filled in a contact I want to hide this line, how can I do this?
4 years ago
·
#216321
Accepted Answer
0
Votes
Undo
After another good search I found this and that was the solution.

<b> $ {eventDate (% A% d% B% Y)} [! a: $ {eventDate (% H:% M)} $ {endDate (-% H:% M)}] </b> < br> $ {title}
$ {CONTENT #% s}
$ {LOCATION # Location:% s}
$ {CONTACT # Contact:% s}
$ {EXTRAINFO # Additional information:% s}
4 years ago
·
#216321
Accepted Answer
0
Votes
Undo
After another good search I found this and that was the solution.

<b> $ {eventDate (% A% d% B% Y)} [! a: $ {eventDate (% H:% M)} $ {endDate (-% H:% M)}] </b> < br> $ {title}
$ {CONTENT #% s}
$ {LOCATION # Location:% s}
$ {CONTACT # Contact:% s}
$ {EXTRAINFO # Additional information:% s}
4 years ago
·
#216324
0
Votes
Undo
Good work on your seaching :-)

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.