{set $getId = $.get['getId']} {set $getIdItem = $.get['getIdItem']} {if $getId? && $getId! && $getId is string} {set $rows = $.get['getId'] | resource : 'examplesItems' | fromJSON} {foreach $rows as $idx => $row} {if $idx == $getIdItem}

{$row.textBefore}

{$row.textAfter}

{/if} {/foreach} {else}

Error

{/if}