[TYPO3-ttnews] News System - Fluid Template Link Helper

JCL - Johannes C. Laxander jc at laxander.com
Sun Dec 30 22:08:33 CET 2012


Additional note:
uri/url is a file link e.g. fileadmin/user_upload/pdf/docoument.pdf

> Hi,
>  
> in a new list view I will link the news title with the first 
> url in the related link section, but my code in 
> Partials/List/Item.html doesn't work:
>  
> <f:if condition="{newsItem.relatedLinks}">
>    <f:then>
>        <!-- Mit dem ersten Eintrag in 'related Links' verlinken -->
>        <f:link.external uri="{newsItem.relatedLinks.0.uri}" 
> target="blank">
>            {newsItem.title}
>        </f:link.external>
>    </f:then>
>    <f:else>
>        {newsItem.title}
>    </f:else>
> </f:if>
> 
> The generated Link is "http:///". With f:link.page it's the 
> page itself. What's wrong?
> 
> Johannes.
> 
> _______________________________________________
> TYPO3-project-tt-news mailing list
> TYPO3-project-tt-news at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-tt-news
> 



More information about the TYPO3-project-tt-news mailing list