Loading...
Skip navigation

Link handler

TYPO3 8.7

Page-TypoScript

// Page TSconfig for registering the linkhandler for "product" records
TCEMAIN.linkHandler.tx_shop_product {
    handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
    label = LLL:EXT:shop/Resources/Private/Language/locallang_db.xlf:tx_shop_domain_model_product
    configuration {
        table = tx_shop_domain_model_product
    }
    scanBefore = page
}

Setup-TypoScript

config.recordLinks {
    tx_shop_product {
        typolink {
            parameter = {$themes.configuration.pages.shop.detail}
            additionalParams.data = field:uid
            additionalParams.wrap = &tx_shop_products[controller]=Product&tx_shop_products[action]=show&tx_shop_products[product]=|
            useCacheHash = 1
            ATagParams.data = parameters:allParams
            target.data = parameters:target
            title.data = parameters:title
            extTarget = _blank
            extTarget.override.data = parameters:target
        }
        forceLink = 1
    }
}

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
O5P_________4W6______
__M____F____6_G___7FC
4P5___3Q9___RLH______
J______C______C___N8Y
X8A_________GQY______