[TYPO3-english] How does mnogoSearch determine page title when displaying results?

Nathan Lenz typo3 at k9tfk.com
Mon Nov 10 21:19:54 CET 2008

Dmitry Dulepov wrote:
> Hi!
> Nathan Lenz wrote:
>> Do you know if there is a way to change how the mnogosearch either
>> records or displays page titles in the search results?  I couldn't find
>> anything in the documentation for mnogo or the typo3 extension.
> mnoGoSearch tries to exclude site title from the page title while
> indexing because it improves search results quality. It tries
> internal TYPO3 alttPageTitle first, than indexedDocTitle and finally
> page title from the page record. If you are using really recent
> version, it should work correctly.
> If you want you can have page title untouched with site title in
> it). There is undocumented TS property:
> config.tx_mnogosearch_keepSiteTitle = 1
> Undocumented means that it can be changed or removed at any moment
> and no complaints will be accepted...

Excellent!  I think the most proper way for me to handle this would be 
to add my own postproc hook like tx_mnogosearch_postproc that sets the 
title to my preferred column. That way I don't have to file an 
unacceptable complaint if that setting goes away. :)

I use the browserpagetitle extension to set the page title, so it would 
be nice to use pObj->page['tx_browserpagetitle_browser_title'] instead 
of pObj->page['title'].

More information about the TYPO3-english mailing list