[TYPO3-english] tt_news: Additionalparams not working with ext_url ?

Søren Madsen sma at science.au.dk
Thu Dec 8 13:28:39 CET 2011


>> I would wrap the URL direct. something like:
> 
> {
>  field = title
>  wrap=<strong>|</strong><br/>
>  stdWrap.typolink {
>    parameter.field = ext_url
>    parameter.field.wrap = | 
> &utm_source=typo3&utm_medium=email&utm_campaign=
> {page:title}
>    parameter.field.insertData = 1
>  }
> }

I already tried that - but that also doesn't work - ie. the wrap is ignored.

> the problem that may occur:
> you don't know wether there is already an questionmark in ext_url.
> if you know: "yes, always" use like above
> if you know: "no, never" insert a '?'
> otherwise: ???? I don't know. 
> there is no strpos() or contains() for the if-wrap. maybe a userfunc.

Hmmm, hadn't thought of that. I think we may need a total post processing of the page instead of this approach. 

Thanks for your time!

regards,
Søren



More information about the TYPO3-english mailing list