Skip to main content

Spent 2 days on this similar problem. Sebastian, you almost had it. Twig snippet should look more like this:

{% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal">      {{ item.content.[#title']['#title'] }} </a> {% endfor %}  {# [#title']- this is really important to place the text in the a href tag #} 

['#title'] - is really important to place the text in the a href tag

Definitely MortenDK was very helpful: https://www.youtube.com/watch?v=bvaz9eb54c4

Spent 2 days on this similar problem. Sebastian, you almost had it. Twig snippet should look more like this:

{% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal">    {{ item.content.[#title'] }} </a> {% endfor %}  {# [#title']- this is really important to place the text in the a href tag #} 

Definitely MortenDK was very helpful: https://www.youtube.com/watch?v=bvaz9eb54c4

Spent 2 days on this similar problem. Sebastian, you almost had it. Twig snippet should look more like this:

{% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal">   {{ item.content.['#title'] }} </a> {% endfor %} 

['#title'] - is really important to place the text in the a href tag

Definitely MortenDK was very helpful: https://www.youtube.com/watch?v=bvaz9eb54c4

deleted 184 characters in body
Source Link

Spent 2 days on this similar problem. Sebastian, you almost had it. Twig snippet should look more like this:

{% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal">   {{ item.content.[#title'] }} </a> {% endfor %} {% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal">{{ item.content.[#title'] }}  {# [#title']- this is really important to place the text in the a href tag #}    </a>  

Definitely MortenDK was very helpful: https://www.youtube.com/watch?v=bvaz9eb54c4

Spent 2 days on this similar problem. Sebastian, you almost had it. Twig snippet should look more like this:

{% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal">   {{ item.content.[#title'] }} </a> {% endfor %} {% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal">{{ item.content.[#title'] }}  {# [#title']- this is really important to place the text in the a href tag #}    </a>  

Definitely MortenDK was very helpful: https://www.youtube.com/watch?v=bvaz9eb54c4

Spent 2 days on this similar problem. Sebastian, you almost had it. Twig snippet should look more like this:

{% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal"> {{ item.content.[#title'] }} </a> {% endfor %} {# [#title']- this is really important to place the text in the a href tag #} 

Definitely MortenDK was very helpful: https://www.youtube.com/watch?v=bvaz9eb54c4

formatting
Source Link
Shawn Conn
  • 27k
  • 15
  • 50
  • 73

Spent 2 days on this similar problem. Sebastian, you almost had it. Twig snippet should look more like this:

{% for item in items %}

{{ item.content.[#title'] }}
{% endfor %}

{% for item in items %}

{{ item.content.[#title'] }}

{% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal"> {{ item.content.[#title'] }} </a> {% endfor %} {% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal">{{ item.content.[#title'] }} {# [#title']- this is really important to place the text in the a href tag #}    </a> 
  

Definitely MortenDK was very helpful: https://www.youtube.com/watch?v=bvaz9eb54c4

Spent 2 days on this similar problem. Sebastian, you almost had it. Twig snippet should look more like this:

{% for item in items %}

{{ item.content.[#title'] }}
{% endfor %}

{% for item in items %}

{{ item.content.[#title'] }}

{# [#title']- this is really important to place the text in the a href tag #} 
 

Definitely MortenDK was very helpful: https://www.youtube.com/watch?v=bvaz9eb54c4

Spent 2 days on this similar problem. Sebastian, you almost had it. Twig snippet should look more like this:

{% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal"> {{ item.content.[#title'] }} </a> {% endfor %} {% for item in items %} <a href="{{ item.content['#url'] }}" class="btn-circle btn-circle--blue js-open-modal">{{ item.content.[#title'] }} {# [#title']- this is really important to place the text in the a href tag #}    </a> 
 

Definitely MortenDK was very helpful: https://www.youtube.com/watch?v=bvaz9eb54c4

added 2 characters in body
Source Link
Loading
deleted 2 characters in body
Source Link
Loading
Source Link
Loading