Hey guys,
I need help and I don’t even know if it is possible to do it.
I’m trying to make a button that if one user press it, it will navigate to a page, but if another user press it,it will navigate to a different page.
something like that:
{% set x = user %}
{% if (x == ‘user1’) %}
{% set navigation_path = ‘home1’ %}
{% else %}
{% set navigation_path = ‘home2’ %}
{% endif %}
but I don’t know how to even make a button like that or how can you change inputs under navugation_path. maybe anyone can help? or maybe have done something like that before?
Thanks
Tom