1

I'm new using Craft, I have a table type field display on one of my template but I need to display row 2 and 7 in different places of the page how can display only those two rows.

1

{{ entry.myTableField[1] }} and {{ entry.myTableField[6] }}

You also might want to check to make sure they exist.

{% if entry.myTableField[1] is defined and entry.myTableField[1] is not empty %}
     {{entry.myTableField[1]}}
{% endif %}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.