Commit 27b05435 authored by Thomas Löffler's avatar Thomas Löffler

Adds linkhandler config for news

parent 09cdec0b
Pipeline #1510 passed with stages
in 7 minutes and 8 seconds
TCEMAIN.linkHandler.tx_news {
handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler
label = News
configuration {
table = tx_news_domain_model_news
storagePid = 179
hidePageTree = 1
}
scanAfter = page
}
......@@ -32,6 +32,15 @@ plugin.tx_news {
}
}
config.recordLinks.tx_news {
typolink {
parameter = 185
additionalParams.data = field:uid
additionalParams.wrap = &tx_news_pi1[news]=|
useCacheHash = 1
}
}
# RSS feed with the latest 30 news (default)
[globalVar = TSFE:type = 100]
config {
......
<?php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/PageTS/Linkhandler.txt">'
);
// url index.php?eID=SolrSuggest&term=sdfsdfsdf
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['SolrSuggest'] = \T3o\T3orgLayout\Controller\SolrInstantSearchController::class . '::suggest';
\ No newline at end of file
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['SolrSuggest'] = \T3o\T3orgLayout\Controller\SolrInstantSearchController::class . '::suggest';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment