Enrique Moreno Tent
Enrique Moreno Tent

Reputation: 25267

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.

Upvotes: 1

Views: 1618

Answers (1)

Enrique Moreno Tent
Enrique Moreno Tent

Reputation: 25267

I found the solution. parameter uriOnly:

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

Upvotes: 3

Related Questions