Project

General

Profile

Actions

Bug #80896

closed

TypolinkViewhelper with linkhandler ignores class attribute

Added by Kai Tallafus about 7 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Start date:
2017-04-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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?


Related issues 8 (0 open8 closed)

Related to TYPO3 Core - Bug #81316: linkhandler does not respect custom typolink configurationClosed2017-05-23

Actions
Related to TYPO3 Core - Bug #81620: Linkhandler remove all attributes set in the link wizard and the templateClosed2017-06-19

Actions
Related to TYPO3 Core - Bug #81903: DatabaseRecordLinkBuilder is ignoring other settingsClosed2017-07-18

Actions
Related to TYPO3 Core - Bug #97869: typolink with returnLast returns also more information than just the URLClosedBenni Mack2022-07-07

Actions
Related to TYPO3 Core - Bug #98065: TypoScript image file link with target _blankClosed2022-08-02

Actions
Related to TYPO3 Core - Bug #98108: Regression with nested parameter for typolinkClosed2022-08-09

Actions
Has duplicate TYPO3 Core - Bug #82985: class in f:link.typolink ignoredClosed2017-11-13

Actions
Precedes TYPO3 Core - Bug #90404: Linkhandler removes all attributes set in fluid viewhelper if parameter uses stdWrapClosed2017-04-202017-04-20

Actions
Actions

Also available in: Atom PDF