Commit ca323992 authored by Markus Sommer's avatar Markus Sommer
Browse files

Merge branch '73-add-possibility-to-link-to-news-in-the-link-wizard' into 'develop'

Resolve "Add possibility to link to news in the link wizard"

Closes #73

See merge request !68
parents 09cdec0b 27b05435
Pipeline #1519 passed with stages
in 4 minutes and 42 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 { ...@@ -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) # RSS feed with the latest 30 news (default)
[globalVar = TSFE:type = 100] [globalVar = TSFE:type = 100]
config { config {
......
<?php <?php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig(
'<INCLUDE_TYPOSCRIPT: source="FILE:EXT:' . $_EXTKEY . '/Configuration/PageTS/Linkhandler.txt">'
);
// url index.php?eID=SolrSuggest&term=sdfsdfsdf // url index.php?eID=SolrSuggest&term=sdfsdfsdf
$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['SolrSuggest'] = \T3o\T3orgLayout\Controller\SolrInstantSearchController::class . '::suggest'; $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['SolrSuggest'] = \T3o\T3orgLayout\Controller\SolrInstantSearchController::class . '::suggest';
\ No newline at end of file
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