Loading...
Navigation überspringen

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
    }
}

Kontaktanfrage

Sie können uns jederzeit kontaktieren

Contact request
Screenreader label
Security question
1TR_________RMP______
2______K____D_____U7G
NQH___F9R___ZLN______
9_O____W____Y_A___YOX
QNR_________HJI______