HubL Tag for Navigation-Label (Text)

Hey @peesen

I see what you’re doing now.

Try something like this:

{% set node = menu(*menuId*) %}
{% for child in node.children %} {# loop through the menu #}
 {% if child.activeNode == true %} {# test if the current menu child is active #}
 {% set active_node = child.label %} {# declare a variable that we can use and test against later #}
 {% endif %}{% endfor %}

{{ active_node }} {# display the label #}

Unfortunately I am unable to test this, so I hope its straight forward enough!