How to
I just “create” the solution for viewing all fe_users in frontend. The problem was to sort the members by name and not any other subject. I read the code from the linking-area and so the problem was solved.
I use in the concerning project the “old” newloginbox extension. But i think the code can be used in a modified way also in the extension feuserlisting.
You have to insert just this snippet to your TS-Setup:
#sorting the memberlist by name
plugin.tx_newloginbox_pi3{
_DEFAULT_PI_VARS.sort=name:0
}
The attribut name:0 sorts from A-Z.
You can use name:1 for sorting from Z-A
I hope you will have fun with this small snippet.
Greetz
Martin
Related posts:
Great find! This is the first time in 6 years, I’ve noticed the _DEFAULT_PI_VARS TypoScript option. What a great way to overcome a missing TS option that could be alternately set with TS pushed to piVars.
look also here: http://blog.team-noir.net/2012/01/typo3-hint-fe_userlisting_sort_by/