- Posts: 5
COMMUNITY FORUM
Change User ordering in K2 USERS module
- Best Practice Productions
-
Topic Author
- Offline
- New Member
Less
More
10 years 2 months ago - 10 years 2 months ago #147116
by Best Practice Productions
Change User ordering in K2 USERS module was created by Best Practice Productions
Hey K2 community,
I have recently created a new K2 USERS module and modified the CSS so the layout is as I would like. I would however love to be able to order the K2 users list in alphabetical order by surname!
At present you can order by alphabetical, random & recent but the alphabetical works for the entire name field.
Any ideas? I know this would involve modifying the helper.php file and doing a fancy MySQL query but if someone has done this and can show me how that would be magic!
Cheers
I have recently created a new K2 USERS module and modified the CSS so the layout is as I would like. I would however love to be able to order the K2 users list in alphabetical order by surname!
At present you can order by alphabetical, random & recent but the alphabetical works for the entire name field.
Any ideas? I know this would involve modifying the helper.php file and doing a fancy MySQL query but if someone has done this and can show me how that would be magic!
Cheers
Last edit: 10 years 2 months ago by Best Practice Productions.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 2 months ago #147176
by Krikor Boghossian
Replied by Krikor Boghossian on topic Change User ordering in K2 USERS module
Actually if you only have a dozen of users, you can manually add specific users in the module and use drag n' drop to reorder them.
Please Log in or Create an account to join the conversation.
- Best Practice Productions
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
10 years 2 months ago #147217
by Best Practice Productions
Replied by Best Practice Productions on topic Change User ordering in K2 USERS module
Hey Krikor - great idea, I may have to go this way. I have about 150 authors though, so it will take me some time but I have no other way unless someone responds to the OP.
thanks again
thanks again
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 2 months ago #147251
by Krikor Boghossian
Replied by Krikor Boghossian on topic Change User ordering in K2 USERS module
You can also use the latest items from user menu item to use the component view instead of the module.
Please Log in or Create an account to join the conversation.