Hi
How can we show popup only for logged in users? Is this possible using interactions, or conditional logic?
Thanks in advance
Hi
How can we show popup only for logged in users? Is this possible using interactions, or conditional logic?
Thanks in advance
Yes.
Example: Show popup before a certain date/time (using element conditions)
While the template conditions determine on which pages the popup appears, you can further restrict a popup by defining Element Conditions on the outermost popup element.
To only show a popup before November 1st, 2022, you’d set the following element condition on the outermost layout element of your popup:
If this element condition is not fulfilled, meaning Nov 1st, 2022 is reached, then the popup HTML is no longer rendered. So even if the popup is triggered by an interaction, it won’t show as there is no popup HTML to display.
I hate to re-awaken this answered form, but I feel like this is a bad way to go about it and Bricks should just allow you to do this in the settings area on the template page. And be able to filter by for example, showing everywhere, and showing if user role or custom field == to something.
If we hide it at the section level, the popup still technically shows, but there’s just nothing there to see.
Yes absolutely. I was scratching my head where to define logged in - guest users. No where to be found in the pop up interface settings itself where intuitively I would search for. And it the popup settings → conditions. This is crazy tbh.