[TYPO3-dev] Sorting 'random'

Tapio Markula tapio.markula at xetpoint.fi
Mon Jul 21 17:33:19 CEST 2008


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?

. You may extend it.
> Built in sorting:
>    Page title
>    Subtitle
>    Change-time
>    Create-time
> 
>    Reverse current order

Endeed reordering in *subtree* might be difficult - final menuarray 
should be modified with some principle - maybe using for a page new 
field 'randomize'.
Where to start?
I didn't found a suitable hook in the class.tslib_menu.php
If needed a userfunction, is there any way to keep existing menuarray 
and modify it just partially.




More information about the TYPO3-dev mailing list