[TYPO3-dev] Sorting 'random'

Tapio Markula tapio.markula at xetpoint.fi
Tue Jul 22 10:33:55 CEST 2008


Steffen Kamper kirjoitti:
> Tapio Markula schrieb:
> Tapio Markula schrieb:
>> Steffen Kamper kirjoitti:
>>> Tapio Markula schrieb:
>>>> Hi
>>>>
>>>> Does Typo3 support as build somewhat random sorting of pages?
>>>> Any existing plugin, which use random sorting?
>>>
>>> Hi Tapio,
>>>
>>> have a look at wizard_sortpages
>>
>> where defined?
>>
> 
> typo3/sysext/wizard_sortpages/class.tx_wizardsortpages_webfunc_2.php
> 
> all is there, have a look inside.

in fact setting 'rand()' is enough - for some reason

tt_content.menu.20.2.special=directory
tt_content.menu.20.2.special.value=1
[PIDinRootline=5]
tt_content.menu.20.2.2.alternativeSortingField = rand()
tt_content.menu.20.2.2.itemArrayProcFunc = user_itemArrayProcFunc
[global]
didn't work - I mean the condition PID... but this not a big problem




More information about the TYPO3-dev mailing list