Thursday, 09 March 2023
  2 Replies
  289 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 — 1 year ago
skullmonkey set the type of the post as  Technical — 1 year ago
1 year ago
·
#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!

1 year ago
·
#230239
0
Votes
Undo
Worked like charm! Tnx! :)

Cheers!
skullmonkey marked this post as Resolved — 1 year ago
  • 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.