• Resolved kimberlyholmes

    (@kimberlyholmes)


    Is there a way to set the code to show information on certain dates yearly?

    For example, I want my form to only show March 1st through November 30th each year.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Arno Welzel

    (@awelzel)

    You can create a server side rule and use the following paramters:

    Action/Initial event

    Action: show content
    Start: 2024-03-01 (March 1st 2024), 00:00
    End: 2024-11-30 (November 30th 2024), 23:59

    Repeating pattern

    Frequency: yearly
    Interval: 1

    Stopping condition

    End date: 2999-01-01

    You can then check your intervals using “Show projected dates/times” which should show a list like this (of course with a time offset according to your selected timezone):

    Start — End
    2024-03-01 00:00 +0000 — 2024-11-30 23:59 +0000
    2025-03-01 00:00 +0000 — 2025-11-30 23:59 +0000
    2026-03-01 00:00 +0000 — 2026-11-30 23:59 +0000
    2027-03-01 00:00 +0000 — 2027-11-30 23:59 +0000
    .. and so on …

Viewing 1 replies (of 1 total)
  • The topic ‘Yearly Show/Hide’ is closed to new replies.