[TYPO3-english] Parameters on links

Michael Miousse mmiousse at infoglobe.ca
Wed Jul 29 20:49:44 CEST 2009


Le Wed, 29 Jul 2009 18:33:29 +0000, Michael Miousse a écrit :

> Le Wed, 29 Jul 2009 12:32:27 +0000, Michael Miousse a écrit :
> 
>> 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
>> 
>> 
> sorry i juste realise that i forgot the uid of your news in the url. i
> suppose that the kind of url you expect is:
> http://www.anothersite.com/events/111/tx_mblnewsevent_pk/join
 
sorry again wrong modification but i can now say that this is my final answer

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



More information about the TYPO3-english mailing list