[TYPO3-ttnews] tx_news: add class to some related links

Muriel le Pair typo3 at strangefruit.nl
Wed Jan 15 16:20:32 CET 2014


Hi,

I would like to add a class to some (not all) related links in tx_news.
But some of the extra parameters seem to be ignored:

Tx_News_Domain_Model_Linkprototypepersistent valueobject (uid=1, pid=25)
    title => 'test' (4 chars)
    uri => 'www.mydomain.nl _blank popupframe tralalala' (47 chars)
    pid => 25 (integer)

This should output
<a href="www.mydomain.nl" target="_blank" class="popupframe" 
title="tralalala">test</a>

but it outputs (the target is added but the class is ignored):
<a href="www.mydomain.nl" target="_blank" title="test">test</a>

How do I add a class to a specific link?

--
kind regards,

Muriel le Pair






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