• Hi all!
    I’d like to do some changes at the upcoming events in the location view and I hope you can help me:
    The upcoming events are shown as: {time}, {date} – {title}
    I’d like to switch {date} and {time} as it gives a better overview I think:
    {date}, {time} – {title}
    Any idea?
    In the german version the time is shown as 24-hour format, which is great. But is there a way to add additional text behind the time?

    Thank you all for your help!
    Best regards,
    Tim

Viewing 1 replies (of 1 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    The filter to change that is documented here: https://joedolson.github.io/my-calendar/mc_display_location_events.html

    You can add a custom parameter 'template' => 'your template', which can either take a custom template or a template key that refers to a template you created at My Calendar > Design > Templates.

    You can customize the display of {time} using before and after attributes, e.g. {time after=”text”}, which will insert custom text as long as the event time returns a value. If it doesn’t return a value, the ‘after’ string won’t be included.

Viewing 1 replies (of 1 total)
  • The topic ‘Upcoming Events in Location View’ is closed to new replies.