• Resolved darkfighter55

    (@darkfighter55)


    Hello,

    I need help to get it on the right way….

    Problem:
    I want to disable a widget, if the Postdate ist older than 30 Minutes, it′s for a news-Ticker as “Breaking News”.

    So i chose a Newsticker element in Elementor and Set the Dynamic Conditions Field as:
    – Dynamic Field: Post Time
    – Hide if …
    – “Larger as…”
    -> String to Time
    -> now -30minutes

    But it shows everytime.

    The Debug shows:

    Element:epic_element_newsticker_elementor-7d0eb72 (widget)
    DynamicTag-Tag:post-time
    DynamicTag-Key:
    DynamicTag-Value:1576746600
    Check-Value:1576754286
    Check-Value2:0
    Condition-Type:strtotime
    Condition:Hide if greater
    Condition met:no

    Can you help me?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rtowebsites

    (@rtowebsites)

    Hi @darkfighter55,

    the “Dynamic Value” will always be greater than the “Check Value”. Right now you hide the element just for the first 30 minutes.

    You can select the Condition “Less than” or you can switch the “Show/Hide”.

    Example outputs are:

    Element:section-2f18ece (section)
    DynamicTag-Tag:post-date
    DynamicTag-Key:
    DynamicTag-Value:1576768840
    Check-Value:1576763881
    Check-Value2:0
    Condition-Type:strtotime
    Condition:Hide if less
    Condition met:no

    Element:section-2f18ece (section)
    DynamicTag-Tag:post-date
    DynamicTag-Key:
    DynamicTag-Value:1572450739
    Check-Value:1576763870
    Check-Value2:0
    Condition-Type:strtotime
    Condition:Hide if less
    Condition met:yes

    We close this issue. If you need any further help you can open a new issue or rewrite here.

    Thank you!

    Thread Starter darkfighter55

    (@darkfighter55)

    Hey and Greetings from germany.

    I don′t get it to work.
    argh.

    I am now a few steps further, but i have new Problems.

    Now it works, that only the newest Postings are shown.

    Then i see a the Newsticker.

    If now Posts are awailable to show, i see a message: “No posts matching your criteria. Please modify Query parameters to show posts.”

    Is it possible to set it like:
    “if show this text, then hide” ?

    Cause this Text is “not changing – if i see it, then i want to disable the field.

    Plugin Author rtowebsites

    (@rtowebsites)

    Hello @darkfighter55,

    our Plugin do not create this text. so we can not change it. Sorry for that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable if Posts older then…’ is closed to new replies.