Hi,
have a problem creating a template showing a list of links.
Specifically the global variable $linkslist seems always to be empty.
At the moment this is the template i am using :
[{if !empty($linkslist)}]
<h3 class="bx_ttl">Links</h3>
<div class="bx_txt">
[{assign var="isFirst" value=true}]
[{foreach from=$linkslist item=link }]
[{if !$isFirst}]
<br /><div class="dottedline" style="background-image: url([{$shop->imagedir}]/linedot.gif)"></div><br />
[{else}]
[{assign var="isFirst" value=false}]
[{/if}]
[{ $link->oxlinks__oxinsert->value|date_format:"%d.%m.%Y" }] - <a href="[{ $link->oxlinks__oxurl->value }]" target="_new" class="links_link">[{ $link->oxlinks__oxurl->value }]</a><br /><br />
[{ $link->oxlinks__oxurldesc->value }]
[{ /foreach }]
</div>
[{/if}]
sadly the documentation is of no help here, maybe anyone has an idea where i made a mistake. help would be much appreciated.
Thanks in advance !
Ps. I tryied getting the size of $linkslist via {$linkslist|@count} but it´s always 0. enven tough i have some links in the shop.
The oxid Version used is 3EE.