[TYPO3-english] How to pass a parameter through a whole TYPO3	site in 4.5 respecting caching?
    Jan Kornblum 
    jan.kornblum at gmx.de
       
    Wed Nov 27 11:56:39 CET 2013
    
    
  
Hi Stephen,
thanks for your reply.
> You can use defaultGetVars to set params, anywhere that uses typolink will 
> then add the vars to the links generated.
>
> config {
>   defaultGetVars {
>     myvar   = myvalue
>   }
>
>   linkVars = myvar
> }
But defaultGetVars seems to *always* add the defined params to the 
link. I want the param only to be added when the site has been called 
with the param before.
Also, i need "myvar" to be capable of dynamic values i can't predict 
(like 1,2,3,...,999999).
Regards, Jan
    
    
More information about the TYPO3-english
mailing list