Lukas W.
Well-known member
Code:
<xen:foreach loop="$text.link_tags" value="$tag" i="$i">
<xen:if is="{$tag} == 1">
<div class="tag tag_{$tag}">
{xen:phrase Phrase_Tag{$tag}}
</div>
</xen:if>
</xen:foreach>
Is there a way to get the code snippet above working and call a different phrase each time it cycles through the loop or would I have to go the long way using a dumb if-elseif repeat queue? Shortly spoken this should call "Phrase_1", "Phrase_2", etc.