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

Krystian Szymukowicz t33k at prolabium.com
Thu Nov 25 15:26:13 CET 2010


W dniu 2010-11-25 13:50, Steffen Kamper pisze:
> 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: ...

Yes this works as advertised even with my own table :)

> It show up correct until you type the colon, but then it's wrong, so
> there is still a bug.

Right. Confirmed.

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

This does not work unfortunately if you mean I can put search word 
witout any special notation like: #xxx: sword

If I write only some special words from my table there is "No results 
found".


-- 
grtz
Krystian Szymukowicz




More information about the TYPO3-dev mailing list