简体   繁体   中英

TYPO3 extension “news”: Getting “Detail View” URL

I have started using the TYPO3 extension "news" and I would like to create in the LIST VIEW a "Facebook Like Button" for the Detail View of each enty. For this I need to fetch the URL of the DETAIL VIEW, not the whole <a> tag. How can i do this?

I tried this, but it didnt work:

<n:link configuration="{returnLast: 'url'}" newsItem="{newsItem}" settings="{settings}">
    Link to detail page
</n:link>

It uses Fluid Templates, which I'm completely new with, so I don't know how complicated this actually is.

I found the solution. parameter uriOnly :

<n:link uriOnly='1' newsItem='{newsItem}' settings='{settings}'></n:link>"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM