[TYPO3-Solr] tt_news, multiple single-pids and other problems

Joerg Sauskat j.sauskat at gmx.de
Sun Jun 23 12:46:25 CEST 2013


Hi Andy,

thanks for your help!

Best regards.

Joerg

Am 23.06.2013 11:23, schrieb Andreas Pattynama:
> 2013/6/23 Andreas Pattynama <andreas.pattynama at innocube.ch>
>
>> Hi
>>
>> 2013/6/23 Jigal van Hemert <jigal.van.hemert at typo3.org>
>>
>>>               url = TEXT
>>>
>>>>               url {
>>>>                   typolink.parameter = {$plugin.tt_news.singlePid}
>>>>
>>>
>>> Now the default single pid setting from tt_news is used. In your case the
>>> single pid is defined by the setting in the category. Here you'll have to
>>> lookup the single pid for the category and use that as value for the
>>> typolink.parameter property.
>>
>>
>> Here's an example how I used it in a past project:
>>
>> plugin.tx_solr.index.queue.tt_news.fields {
>>
>> url = TEXT
>> url {
>>            typolink.parameter.data = field:tx_idgnewsextend_singlepid
>>            typolink.additionalParams = &tx_ttnews[tt_news]={field:uid}
>>            typolink.additionalParams.insertData = 1
>>            typolink.returnLast = url
>>            typolink.useCacheHash = 1
>>
>> }
>> }
>>
>
> Sorry, just realized that doesn't work, since in my installation, I "cache"
> the singlePid in the tt_news table. I will check next week, if I can find a
> general example.
>
> Best regards,
> Andy
>
>



More information about the TYPO3-project-solr mailing list