{# This Twig Snippet needs these variables set: group: The code name of the group msgNotLoggedIn: A message to display when the visitor is not logged in. msgNotInGroup: A message to display when the visitor is logged in but not in the group. msgInGroup: A message to display when the visitor is in the group. #} {% if not userId %} {% if msgNotLoggedIn %}
{% endif %} {% elseif not ze('user', 'isInGroup', group) %} {% if msgNotInGroup %} {% endif %} {% else %} {% if msgInGroup %} {% endif %} {% endif %}