[TYPO3-english] Parameters on links

Michael Miousse mmiousse at infoglobe.ca
Tue Jul 28 15:22:37 CEST 2009


Le Tue, 28 Jul 2009 14:11:13 +0200, Sergio Catalá Gil a écrit :

> Hi,
> 
> (thanks, Xavier, for the previous answer)
> 
> I just want to add a certain parameter from tt_news extension to an
> external link. I'm not very used to "typolink" structure and the way for
> adding parameters. I would like to do something like this:
> 
> 	link = TEXT
> 	link {
> 		value = http://www.anothersite.com/events/ typolink {
>   			parameter = http://www.anothersite.com/events/
{tt_news_uid}/join
> 			title = Click here to see the link
> 		}
> 	}
> 
> The result would be something like this:
> 
> http://www.anothersite.com/events/5540/join
> 
> Thanks in advance,
> Sergio

if you are on a single view from tt_news it could be done like this:

link = TEXT
 	link {
 	value = http://www.anothersite.com/events/ 
 		typolink {
			parameter = http://www.anothersite.com/events/{GPvar:tx_ttnews|tt_news}/join
			parameter.insertData=1
 			title = Click here to see the link
 		}
 	}



More information about the TYPO3-english mailing list