[TYPO3] Contagged

Jochen Rau j.rau at web.de
Tue Sep 9 12:17:40 CEST 2008


Hi Jeppe,

now I did some extensive tests. It seems that if the content is not 
encoded in UTF-8 the modifier "u" of the Regular Expression causes the 
search to determine.

The latest version of contagged (v0.1.2) solves this problem by 
switching off UTF-8 support by default.

Greetings
Jochen

Jeppe Donslund schrieb:
> Hi,
> 
> Now I have tried this.
> 
> Installed the extension.
> Include Default css-styles and Content parser in Include static.
> I have this in my TS setup
> 
>     tt_content.text.20.postUserFunc >   
>     plugin.tx_contagged {
>         listPage = 40
>         storagePids = 39
>         includeRootPages = 1
>     }
> And putted 10.stdWrap.postUserFunc = tx_contagged->main into the 
> TemplaVoila XML.
> 
> Here http://adoption.donslund.net/40 the terms-list is shown fine but 
> the word "sydafrikaner" is not marked her: http://adoption.donslund.net, 
> nor is the word "Isingelelo".
> 
> What do I do wrong?
> 
> Regards
> Jeppe
> 
> 
> 
> 
> Jochen Rau skrev:
>> Hi Jeppe,
>>
>>> And where in my TS setup should I put this?
>>
>>> I can get a list of terms, but no terms are highlighted in my content 
>>> elements.
>>>
>>> /Jeppe
>>>
>>>
>>> Tomas Mrozek skrev:
>>>>> tt_content.text.20.postUserFunc >
>>>>>
>>>>> What does that mean? To me it lokks like something is missing.
>>>>
>>>> Operator ">" removes the object.
>>
>> If you don't use TemplaVoila, the parsing engine of contagged is 
>> invoked by the following line in the static template you hopefully 
>> included already ;-)
>>
>> tt_content.text.20.postUserFunc = tx_contagged->main
>>
>> If you want to use TemplaVoila this has to be deactivated by putting 
>> the following line in your root template:
>>
>> tt_content.text.20.postUserFunc >
>>
>> To invoke the parsing engine using TemplaVoila you have to add a 
>> single line in the xml code of your TemplaVoila DataStructure (as 
>> described in the WIKI):
>>
>> [...]
>>              10= RECORDS
>>              10.source.current=1
>>              10.tables = tt_content
>> this line->  10.stdWrap.postUserFunc = tx_contagged->main
>>              10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
>> [...]
>>
>> I hope that works for you.
>>
>> -- Jochen


More information about the TYPO3-english mailing list