I have a matrix field with an entries field which ties into another matrix field. Is this possible? Here's what I have so far...
{% for block in entry.contentMatrix %}
{# Tabs Block Type #}
{% if block.type == "tabs" %}
{% set entries = craft.entries.relatedTo(block.tabEntry) %}
{% for entry in entries %}
{# Matrix Content #}
{% for block in entry.tabsMatrix.type('videoChannel, videoPlayer, copy') %}
{{ block.title }}
{% endfor %}
{% endfor %}
{% endif %}
{% endfor %}
This does not produce an error, just nothing.
switch
tag better suited than the conditional for looping through the block types? Is there a performance difference?{{ dump(entries) }}
or{{ entries|length }}