By webmasterab on Monday, 25 May 2020
Replies 2
Likes 0
Views 586
Votes 0
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?
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
·
0 Likes
·
0 Votes
·
0 Comments
·
Good work on your seaching :-)
·
4 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post