[TYPO3-dev] Web->list - searching in records (own records)

Steffen Kamper info at sk-typo3.de
Thu Nov 25 13:50:09 CET 2010


Steffen Kamper schrieb:
> Hi,
> 
> i can explain how it works in 4.5 with livesearch. There is a configuration
> 
> $GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch'] = array(
>     'content' => 'tt_content',
>     'page' => 'pages'
> );
> 
> so you could extend this in your extension, eg
> 
> $GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch'] = array_merge(
>     $GLOBALS['TYPO3_CONF_VARS']['SYS']['livesearch'],
>     array(
>         'news' => 'tt_news'
>     )
> );
> 
> However this has to be tested and improved until final release ;)
> 

btw: now to search for news you would type
#news: ...
It show up correct until you type the colon, but then it's wrong, so 
there is still a bug.

However, the table now is included in search results without the prefix

vg Steffen




More information about the TYPO3-dev mailing list