Relationship
Relationships are an extremely powerful tool that allow you to connect Entries in one Channel to those in another one, or even to other entries in the same channel. This ability allows you to store very complex content in your Channel entries.
note
The following examples use a field named date_field
. This should be replaced with your field name.
- Twig
- Blade
{% for child in entry.relationship_field %}
{{ child.title }}
{% endfor %}
@foreach($entry->relationship_field as $child)
{{ $child->title }}
@endforeach
info
See the ExpressionEngine Documentation for more information on the Relationship fieldtype