#80896TypolinkViewhelper with linkhandler ignores class attribute
Description
Linkhandler TypoScript definition:
config.recordLinks.products {
forceLink = 0
typolink {
parameter = 9
additionalParams.data = field:uid
additionalParams.wrap = &tx_product_productlist[product]=|&tx_product_productlist[action]=show
ATagParams.data = parameters : allParams
useCacheHash = 1
}
}
Fluidtemplate:
<f:link.typolink parameter="{teaser.primaryLink}" class="btn btn-yellow">....</f:link.typolink>
Output:
<a href="...">...</a>
How are we supposed to output such links with different classes?
ATagParams.data = parameters : allParams helps with links set and styled from RTE, but how can different classes be passed from typolink viewhelper?
Reviews 6
- 11.5 75403[BUGFIX] Fix typolink regression when using nested parameter
- 11.5 75366[BUGFIX] Re-apply stdWrap for typolink.parameter values
- main 74620[BUGFIX] Fix typolink parameter stdWrap when using additional info
- main 75046[BUGFIX] Re-apply stdWrap for typolink.parameter values
- 10.4 74534[BUGFIX] Fix typolink parameter stdWrap when using additional info
- 11.5 74576[BUGFIX] Fix typolink parameter stdWrap when using additional info
Related issues 7
- Bug #81316linkhandler does not respect custom typolink configuration
- Bug #81620Linkhandler remove all attributes set in the link wizard and the template
- Bug #81903DatabaseRecordLinkBuilder is ignoring other settings
- Bug #97869typolink with returnLast returns also more information than just the URL
- Bug #98065TypoScript image file link with target _blank
- Bug #98108Regression with nested parameter for typolink
- Bug #90404Linkhandler removes all attributes set in fluid viewhelper if parameter uses stdWrap