due to the help of the forum (mainly by reading), I could already get down the road pretty far. The technical issues are nearly all solved, so I am beginning to re-do everything the clean way and bring the templates to live. Thanks again for the indirect support and answers to my questions.
But now I got stuck again.
For the article template, I'd like to post up to 3 optional links. The specific page template contains 6 fields. 3 for the URLs and 3 descriptions. I implement the links in the template like this:
Code: Select all
...
<li class="article_links_item">
<a href="http://{content block="exturl2" oneline="true"}">{content block="exturl2_desc" oneline="true"}</a>
</li>
...
I tried something like this:
Code: Select all
...
{capture assign="url2"} {content block="exturl2"} {/capture}
{if isset($url2)}
...html...
{/if}
...
If you could point me to the right direction or coincidentaly have a solution at hand, I would be very thankfull:)
best regards
nils