[TYPO3-ttnews] [TYPO3-english] TYPO3 6.2: extending standard search with searching in News (tx_news)

Bert Hiddink [BENDOO e-work solutions] hiddink at bendoo.nl
Fri Dec 12 08:06:25 CET 2014


Hello,

Per default, the standard search looks into page-content and 
headers/keywords. I would like the standard search to look into 
page-content AND news (tx_news). I supposed this could be achieved by 
changing the tt_content.search.30.dataArray.20.valueArray...

#Config for standard search
tt_content.search.30.dataArray.20.valueArray {

     20.value = tt_content.header-bodytext-imagecaption
     20.label.data = 
LLL:EXT:css_styled_content/pi1/locallang.xml:search.pageContent
     20.label.case=capitalize

     30.value = tx_news_domain_model_news.title-bodytext
     30.label.data = 
LLL:typo3conf/ext/news/Resources/Private/Language/locallang.xml:news
     30.label.case=capitalize
}

In the front-end this looks ok but seems not to be enough. What do I 
miss here? Any ideas? Thanks in advance!

Regards,
Bert


More information about the TYPO3-project-tt-news mailing list