Thursday, 09 March 2023
  2 Replies
  536 Visits
0
Votes
Undo
Hi,
is there a way to hide (or add display: none;) class to a field once the event has passed?
I use custom styling of the events.

Thanks,
S@
skullmonkey set the post as Low priority — 2 years ago
skullmonkey set the type of the post as  Technical — 2 years ago
Friday, 17 March 2023 10:35
·
#230218
0
Votes
Undo
A specific field within the event?

There is a custom layout field output you can use

{{Show Past or Future:PAST_OR_FUTURE}}


It will add the text ' past' or ' future' to the event detail or list view output so you can use that as a class name to hide your field

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!

Monday, 20 March 2023 15:39
·
#230239
0
Votes
Undo
Worked like charm! Tnx! :)

Cheers!
skullmonkey marked this post as Resolved — 2 years ago
  • Page :
  • 1
There are no replies made for this post yet.