Actions
Feature #70964
closedAllow sorting = rand() for special = categories (HMENU)
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2015-10-23
Due date:
% Done:
0%
Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:
Description
The MySQL function "rand()" can be used in some HMENU objects as a 'sorting' string, as it is directly inserted after "ORDER BY" in the sql statement. In the "special = categories" menu though, only existing fields are allowed.
It should be possible (and easy) to apply random ordering in category menus, e.g. for menus containing a limited amount of related pages. To keep in line with the unoffical way of randomizing other menu lists, the expression "rand()" could be used.
10 = HMENU 10 { special = categories special { value = 1 sorting = rand() } [...] }
Files
Updated by Mathias Schreiber over 8 years ago
- Target version deleted (
next-patchlevel)
Updated by Susanne Moog about 4 years ago
- Status changed from New to Closed
Due to low demand / low priority I'm going to close this issue now. If anyone takes time to implement it, simply open a new issue please. Thanks.
Actions