Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

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
J8U_________FSD______
__E____O____C_____SG8
__8___HLE___J2H______
__I____B______9___9SQ
__L_________495______