[TYPO3-english] Parameters on links
Michael Miousse
mmiousse at infoglobe.ca
Wed Jul 29 20:33:29 CEST 2009
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
extra_info {
field = generic_tx_mblnewsevent_extra_info value =
http://www.anothersite.com/events/
typolink {
parameter.cObject = RECORDS
parameter.cObject{
source = {field:uid}/{GPvars:tx_ttnews|tt_news}
source.insertData=1
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