[TYPO3-mvc] link viewhelper and linkVars

Stephan Helten stephan.helten at engage.de
Mon Aug 29 10:45:40 CEST 2011


Hi,

 

I have this fluid code:

<ul>

      <li><f:link.page id="ContrastHigh" additionalParams="{contrast:
'high'}">high</f:link.page></li>

      <li><f:link.page id="ContrastNormal" addQueryString="true"
argumentsToBeExcludedFromQueryString="{bla:
'contrast'}">normal</f:link.page></li>

</ul>

 

And this typoscript:

config.linkVars := addToList(contrast)

 

When clicking the first link the parameter contrast=high is appended to
every url (what is right), but when clicking the second link after the
first, the "contrast=high" parameter gets _not_ removed from the link.

Can I force the exclusion of this parameters in any other ways?

 

regards

 

Stephan



More information about the TYPO3-project-typo3v4mvc mailing list