[TYPO3] Preserve random sort of menu

Tapio Markula tapio.markula at xetpoint.fi
Sat Jul 19 08:44:48 CEST 2008


Elijah kirjoitti:
> Hi, 
> 
> If I understand you correctly - you suggested to have a separate ts to
> the next level to make each menu sort by title or something else instead
> of random inside the subnav? 

no - I just tryed to tell that shortcut type 'random subpage' doesn't 
work recursively - it concerns just one level downward.

shortuct page
	first subpage
		next level 1
		next level 2
	second subpage

If you want random for next level items first subpage etc must also be 
shortucut type 'random subpage' - BUT the content is then in then one 
level deeper


> I actually presented this solution before but my client didn't like
> it :( He really wanted to preserve each menu item sort after a random
> order and should remain until the user clicks on the main nav again. 

If you use random order for submenu that can't be preseved - otherwise 
it is not random order!
The order can be preserved only using back button of the browser, 
because then the page comes from browser cache.

If you really would like to presever some value in as session you shoud 
write *your own* user function for the entire menu - much work and you 
should look from normal menu generation class file how to do that.


More information about the TYPO3-english mailing list