In an article I'm using a snippet that displays two custom fields.
First field "spil-hjaelp" is type sql and is displayed as a foreach in the snippet. The field works fine in the article backend, where I can define variables with no problem. But I can't get it to display as a foreach in the snippet - there is no output.
Second field "spil-hjaelp-id" is a type text and works fine.
I can make foreach work elsewhere in a snippet that is displayed in an article, so I suspect it could be the sql type?
{article}
<h3 class="orange">Hjælpetekster for dette spil</h3>
<ul>
{foreach data="spil-hjaelp"}
<li>[row]</li>
{/foreach}
{if spil-hjaelp-id}<li>[spil-hjaelp-id]</li>{/if}
</ul>
{/article}