[TYPO3-english] Parameters on links

Michael Miousse mmiousse at infoglobe.ca
Wed Jul 29 14:32:27 CEST 2009


Le Wed, 29 Jul 2009 09:28:44 +0200, Sergio Catalá Gil a écrit :

> I made progress about the issue:
> 
> extra_info {
> 		field = generic_tx_mblnewsevent_extra_info value =
> 		http://www.anothersite.com/events/
>  		typolink {
> 			parameter =
> 			http://www.anothersite.com/events/
{DB:tt_news:6408:tx_mblnewsevent_pk}/join
> 			parameter.insertData=1
>  			title = Click here to see the link
>  		}
>  	}
> }
> 
> Now I would like to change typolink.parameter like this:
> 
> parameter =
> http://www.anothersite.com/events/{DB:tt_news:{GPvars:tx_ttnews|
tt_news}:tx_mblnewsevent_pk}/join
> 
> But I'm not allowed to use nested brackets for the expression :-(
> 
> Any hint?
> 
> Thanks in advance,
> Sergio

yep

extra_info {
 		field = generic_tx_mblnewsevent_extra_info value =
 		http://www.anothersite.com/events/
  		typolink {
 			parameter.cObject = RECORDS
			parameter.cObject{
 				source.data = GPvars:tx_ttnews|tt_news
				tables = tt_news
				conf.tt_news = TEXT
				conf.tt_news.field = tx_mblnewsevent_pk
				conf.tt_news.wrap = http://www.anothersite.com/events/|/join
			}
  			title = Click here to see the link
  		}
  	}
 }


this should do wath you expect


More information about the TYPO3-english mailing list