[TYPO3-ttnews] tip a friend with tt_news

Carsten Wegner typo3 at steuer-schutzbrief.de
Mon Aug 24 12:07:24 CEST 2009


Hello Richard,

Richard Jäger schrieb:
> i`m trying to use tip a friend inside of my tt_news singleview with a 
> marker ###TIP### BUT its not working :(

What exactly is happening and what's not working? You should be more 
precise.

I dont't think this problem is tt_news specific. Your tipafriend marker 
doesn't belong into your tt_news template file. Just include the 
tipafriend code into your ts setup like this:

temp.TIPAFRIEND = USER
temp.TIPAFRIEND {
   userFunc = tx_tipafriend->main_tipafriend
   code = TIPLINK
   templateFile = {$plugin.tipafriend.file.templateFile}
   typolink.parameter = your tipafriend page uid
}

I got this code in my root ts and it's working for alle pages 
automatically, even for single news.

Hope that helps!
Carsten


-- 
Carsten Wegner
www.steuer-schutzbrief.de


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