[TYPO3] _DEFAULT_PI_VARS in tt_news

Jeroen Visser | ROQUIN E-Solutions jeroen at roquin.nl
Fri Sep 26 14:13:05 CEST 2008


Hi Michael,
We use indexed_search. The indexedserach engine uses $this->piVars['order']
I found out that I should write the following in de setup:

plugin.tx_indexedsearch._DEFAULT_PI_VARS.order = crdate

Thanks for your thoughts.

Kind regards,
Jeroen

Michael Miousse wrote:
> Jeroen Visser | ROQUIN E-Solutions wrote:
> 
>> Hi all,
>> I would like to order the search results by 'crdate'.
>> I tried TS like:
>>
>> plugin.tt_news._DEFAULT_PI_VARS.tx_ttnews|order = crdate
>> #plugin.tt_news._DEFAULT_PI_VARS.tx_indexedsearch[order]=crdate
>>
>> Should it be done like this? Thanks in advance.
>>
> 
> if you are talking about the search from tt_news here hte solution is simple
> 
> the search mode from tt_news use his list mode and you can order your list
> mode by crdate with ts  so by ordering your list mode, you order your
> search mode
> 
> the line for ordering the display list is:
> 
> plugin.tt_news.listOrderBy = crdate
> 


More information about the TYPO3-english mailing list