[TYPO3-english] comments => latest comments ?
Francois Suter
fsuter at cobweb.ch
Fri May 29 09:54:37 CEST 2009
Hi,
> typolink.additionalParams.dataWrap =
> &tx_ttnews[tt_news]={field:external_ref}
>
> Or if there is a way to create a new variable I could use...
>
> because this works too...
>
> 30 = TEXT
> 30.field = external_ref
> 30.split {
> token.char = 95
> returnKey = 2
> }
>
> but I don't know how to apply it before the typolink...
Well additionalParams *is* a stdWrap itself, so you should be able to do
something like:
typolink.additionalParams.cObject = TEXT
typolink.additionalParams.cObject {
// put the above code here
}
typolink.additionalParams.wrap = &tx_ttnews[tt_news]=|
or something like that...
HTH
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-english
mailing list