[TYPO3] Tip-a-friend + tt_news + tempalvoila

Gunnar Jonsson gu-jonss at online.no
Sat Jun 3 12:40:28 CEST 2006


I found the solution for making the Tip-a-friend extension to work when 
using e.g. tt_news and templavoila.

In the setup typoscript of the rootpage you insert the following code:

temp2.value = COA
temp2.value {
      6 = TEXT
      6.data = getenv:QUERY_STRING
      6.wrap = index.php?id=78&tipUrl=http://domenenavn/index.php?|
      6.rawUrlEncode = 1
  }
lib.tipafriend < temp2.value

The page id 78 is the page with the tip-a-friend plugin and code TIPFORM.

Regards,
Gunnar Jonsson

"Gunnar Jonsson" <gu-jonss at online.no> skrev i melding 
news:mailman.1.1149099791.16050.typo3-english at lists.netfielders.de...
>I have a website, base on templavoila template and tt_news. I installed 
>Tip-a-friend and set it up and everything seems OK, except for one thing.
>
> In the href link to the Tip-a-friend page I get e.g. the following:
> http://www.domene.com/index.php?id=25&tipUrl=http://www.domene.com/index.php?id=8&cHash=a9714e2a9d&tx_ttnews[tt_news]=2
>
> But in the link on the tip a friend page and in the e-mail it only shows 
> the following:
> http://www.domene.com/index.php?id=8
>
> It seems like the Tip-a-friend extension is cutting off the link string 
> after it has found the pagenumber and throwing away the reference to the 
> news id.
>
> Does anyone know how to get tip-a-friend to acknoledge the the reference 
> to news id and not just the page id ?
>
> Regards,
> Gunnar Jonsson
> 





More information about the TYPO3-english mailing list