Direkt zu den Inhalten springen
| TYPO3

TYPO3 linkhandler

Ab 8.7 in core. Beispiele für EXT:tx_news, EXT:jobfair

TS setup

## TS setup / linkhandler für tx_news 
config {
 recordLinks {
 tx_news {
 // Do not force link generation when the record is hidden
 forceLink = 0
 typolink {
 # page uid
 parameter = 29
 additionalParams.data = field:uid
 # temporär wegen linkhandler BUG https://forge.typo3.org/issues/81620 - für t3sbootstrap
 #ATagParams = class="btn btn-primary btn-sm animated fadeInUp"
 additionalParams.wrap = &tx_news_pi1[news]=|&tx_news_pi1[controller]=News&tx_news_pi1[action]=detail
 useCacheHash = 1
 }
 }
 }
}

PageTSconfig

## PageTSconfig
TCEMAIN {
 linkHandler {
 tx_news {
 handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
 label = News
 configuration {
 table = tx_news_domain_model_news 
 pageTreeMountPoints = 11,36
# hidePageTree = 1
# storagePid =
 }
 scanAfter = page
 }
 }
}

BUG beachten:
forge.typo3.org/issues/81620 / Linkhandler remove all attributes set in the link wizard and the template

Doku:
docs.typo3.org/typo3cms/extensions/core/8.7/Changelog/8.6/Feature-79626-IntegrateRecordLinkHandler.html
usetypo3.com/linkhandler.html

Getestet mit:
TYPO3 8.7.8
tx_news: 6.1.1